Skip to content

Commit

Permalink
docs(VSlideGroup): update API for 2.0 (#8012)
Browse files Browse the repository at this point in the history
* docs(VSlideGroup): Add centerActive description.

* docs(VSlideGroup): Add maps file.

Add missing events and slots.

* docs(VSlideGroup): Add missing descriptions.
  • Loading branch information
ElijahKotyluk authored and MajesticPotatoe committed Jul 25, 2019
1 parent a373af4 commit ce27c73
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/api-generator/src/maps/v-slide-group.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
'v-slide-group': {
events: [
{
name: 'click:location',
value: 'void',
},
],
slots: [
{
name: 'next',
value: undefined,
},
{
name: 'prev',
value: undefined,
},
],
},
}
8 changes: 8 additions & 0 deletions packages/docs/src/lang/en/components/SlideGroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,16 @@
}
},
"props": {
"centerActive": "Forces the selected component to be centered",
"nextIcon": "The appended slot when arrows are shown",
"prevIcon": "The prepended slot when arrows are shown",
"showArrows": "Always show pagination arrows"
},
"events": {
"click:location": "Emitted when a slide item is selected inside of the slide group"
},
"slots": {
"next": "The next slot",
"prev": "The prev slot"
}
}

0 comments on commit ce27c73

Please sign in to comment.