Skip to content

Commit

Permalink
docs(vdatatable): added more details to props and events (vuetifyjs#1…
Browse files Browse the repository at this point in the history
…4295)

* docs(vdatatable): added more details to props and events

refs vuetifyjs#13573

* Apply suggestions from code review

Co-authored-by: Andrew Henry <AMajesticPotatoe@gmail.com>

* docs(v-data-table): add toggle-select-all description

Co-authored-by: Andrew Henry <AMajesticPotatoe@gmail.com>
  • Loading branch information
2 people authored and mcdmaster committed Oct 25, 2021
1 parent f90957a commit 89a0f0c
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions packages/api-generator/src/locale/en/v-data-table.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"showGroupBy": "Shows the group by toggle in the header and enables grouped rows",
"sortBy": "Changes which item property (or properties) should be used for sort order. Can be used with `.sync` modifier",
"sortDesc": "Changes which direction sorting is done. Can be used with `.sync` modifier",
"virtualRows": "Virtualizes the rendering of rows. Be aware that you can not use the `body`, `body.prepend` or `body.append` slots with this prop."
"virtualRows": "Virtualizes the rendering of rows. Be aware that you can not use the `body`, `body.prepend` or `body.append` slots with this prop.",
"page": "The current displayed page number (1-indexed)"
},
"slots": {
"body": "Slot to replace the default table `<tbody>`",
Expand Down Expand Up @@ -63,6 +64,19 @@
"events": {
"click:row": "Emits when a table row is clicked. This event provides 2 arguments: the first is the item data that was clicked and the second is the other related data provided by the `item` slot. **NOTE:** will not emit when table rows are defined through a slot such as `item` or `body`.",
"contextmenu:row": "Emits when a table row is right-clicked. The item for the row is included. **NOTE:** will not emit when table rows are defined through a slot such as `item` or `body`.",
"dblclick:row": "Emits when a table row is double-clicked. The item for the row is included. **NOTE:** will not emit when table rows are defined through a slot such as `item` or `body`."
"dblclick:row": "Emits when a table row is double-clicked. The item for the row is included. **NOTE:** will not emit when table rows are defined through a slot such as `item` or `body`.",
"current-items": "Emits the items provided via the **items** prop, every time the internal **computedItems** is changed.",
"page-count": "Emits when the **pageCount** property of the **pagination** prop is updated",
"pagination": "Emits when something changed to the `pagination` which can be provided via the `pagination` prop",
"toggle-select-all": "Emits when the `select-all` checkbox in table header is clicked. This checkbox is enabled by the **show-select** prop",
"update:group-by":"Emits when the **group-by** property of the **options** property is updated",
"update:group-desc": "Emits when the **group-desc** property of the **options** prop is updated",
"update:items-per-page": "Emits when the **items-per-page** property of the **options** prop is updated",
"update:multi-sort": "Emits when the **multi-sort** property of the **options** prop is updated",
"update:must-sort": "Emits when the **must-sort** property of the **options** prop is updated",
"update:options": "Emits when one of the **options** properties is updated",
"update:page": "Emits when the **page** property of the **options** prop is updated",
"update:sort-by": "Emits when the **sort-by** property of the **options** prop is updated",
"update:sort-desc": "Emits when the **sort-desc** property of the **options** prop is updated"
}
}

0 comments on commit 89a0f0c

Please sign in to comment.