Skip to content

Commit 93b6d9c

Browse files
mosinvepi0
authored andcommitted
fix(Table) documentation spellcheck
1 parent 69aaab2 commit 93b6d9c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/components/table/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export default {
256256
```
257257

258258
>**Note:** _if a `key` property is defined in the field definition, it will take
259-
precidence over the key used to define the field._
259+
precedence over the key used to define the field._
260260

261261
### Field definition reference
262262
The following field properties are recognized:
@@ -475,7 +475,7 @@ export default {
475475
**Note: When the table is visually stacked:**
476476
- The table header (and table footer) will be hidden.
477477
- Custom rendred header slots will not be shown, rather, the fields' `label` will be used.
478-
- The table **cannot** be sorted by clicking the rendered field labels. You will need to provde an external control to select the field to sort by and the sort direction. See the [**Sorting**](#sorting) section below for sorting control information, as well as the [**complete example**](#complete-example) at the bottom of this page for an example of controlling sorting via the use of form controls.
478+
- The table **cannot** be sorted by clicking the rendered field labels. You will need to provide an external control to select the field to sort by and the sort direction. See the [**Sorting**](#sorting) section below for sorting control information, as well as the [**complete example**](#complete-example) at the bottom of this page for an example of controlling sorting via the use of form controls.
479479
- The slots `top-row` and `bottom-row` will be hidden when visually stacked.
480480
- The table caption, if provided, will always appear at the top of the table when visually stacked.
481481
- In an always stacked table, the table header and footer, and the fixed top and bottom row slots will not be rendered.
@@ -749,7 +749,7 @@ It is also possible to provide custom rendering for the tables `thead` and
749749
`foot-clone` is set to `true`.
750750

751751
Scoped slots for the header and footer cells uses a special naming
752-
convetion of `HEAD_<fieldkey>` and `FOOT_<fieldkey>` respectivly. if a `FOOT_`
752+
convention of `HEAD_<fieldkey>` and `FOOT_<fieldkey>` respectively. if a `FOOT_`
753753
slot for a field is not provided, but a `HEAD_` slot is provided, then
754754
the footer will use the `HEAD_` slot content.
755755

@@ -812,13 +812,13 @@ the visibility of the `row-details` slot.
812812
exist in the items data for proper reactive detection of changes to it's value. Read more about
813813
[Vue's reactivity limitations](https://vuejs.org/v2/guide/reactivity.html#Change-Detection-Caveats)._
814814

815-
Available `row-details` scoped viariable properties:
815+
Available `row-details` scoped variable properties:
816816

817817
| Property | Type | Description
818818
| -------- | ---- | -----------
819819
| `item` | Object | The entire row record data object
820820
| `index` | Number | The current visible row number
821-
| `fields` | Array | The normailized fields definition array (in the _array of objects_ format)
821+
| `fields` | Array | The normalized fields definition array (in the _array of objects_ format)
822822
| `toggleDetails` | Function | Function to toggle visibility of the row's details slot
823823

824824
In the following example, we show two methods of toggling the visibility of the details:
@@ -954,7 +954,7 @@ The `sort-compare` routine is passed three arguments. The first two arguments
954954
(`a` and `b`) are the record objects for the rows being compared, and the third
955955
argument is the field `key` being sorted on (`sortBy`). The routine should return
956956
either `-1`, `0`, or `1` based on the result of the comparing of the two records.
957-
If the routine returns `null`, then the default sort-compare rouine will be used.
957+
If the routine returns `null`, then the default sort-compare routine will be used.
958958
You can use this feature (i.e. returning `null`) to have your custom sort-compare
959959
routine handle only certain fields (keys).
960960

@@ -1009,19 +1009,19 @@ See the [Complete Example](#complete-example) below for an example of using the
10091009

10101010
## Pagination
10111011
`<b-table>` supports built in pagination of item data. You can control how many
1012-
reords are displayed at a time by setting the `per-page` prop to the maximum
1012+
rows are displayed at a time by setting the `per-page` prop to the maximum
10131013
number of rows you would like displayed, and use the `current-page` prop
10141014
to specify which page to display (starting from page `1`). If you set `current-page`
10151015
to a value larger than the computed number of pages, then no rows will be shown.
10161016

10171017
You can use the [`<b-pagination>`](/docs/components/pagination) component in
1018-
conjuction with `<b-table>` for providing control over pagination.
1018+
conjunction with `<b-table>` for providing control over pagination.
10191019

10201020
Setting `per-page` to `0` (default) will disable the local items pagination feature.
10211021

10221022
## `v-model` binding
10231023
If you bind a variable to the `v-model` prop, the contents of this variable will
1024-
be the currently disaplyed item records (zero based index, up to `page-size` - 1).
1024+
be the currently displayed item records (zero based index, up to `page-size` - 1).
10251025
This variable (the `value` prop) should usually be treated as readonly.
10261026

10271027
The records within the v-model are a filtered/paginated shallow copy of `items`, and
@@ -1149,7 +1149,7 @@ methods: {
11491149
>- _If you manually place the table in the `busy` state, the items provider will
11501150
__not__ be called/refreshed until the `busy` state has been set to `false`._
11511151
>- _All click related and hover events, and sort-changed events will __not__ be
1152-
emiited when in the `busy` state (either set automatically during provider update,
1152+
emitted when in the `busy` state (either set automatically during provider update,
11531153
or when manually set)._
11541154

11551155
### Provider Paging, Filtering, and Sorting
@@ -1173,7 +1173,7 @@ maximum, `perPage` number of records.
11731173
trigger the calling of the provider function. So be sure to bind to the `per-page`,
11741174
`current-page` and `filter` props on `b-table` to trigger the provider update function call
11751175
(unless you have the respective `no-provider-*` prop set to `true`)._
1176-
>- _The `no-local-sorting` prop has no effect when `items` is a provider funtion._
1176+
>- _The `no-local-sorting` prop has no effect when `items` is a provider function._
11771177
11781178
### Event based refreshing of data
11791179
You may also trigger the refresh of the provider function by emitting the

0 commit comments

Comments
 (0)