package.json
7.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
{
"name": "@bootstrap-vue/nav",
"version": "1.0.0",
"meta": {
"title": "Nav",
"description": "Navigation components that share general markup and styles, from the base <b-nav> class to the active and disabled states. Swap modifier props to switch between each style.",
"plugins": [
"DropdownPlugin"
],
"components": [
{
"component": "BNav",
"props": [
{
"prop": "align",
"description": "Align the nav items in the nav: 'start' (or 'left'), 'center', 'end' (or 'right')"
},
{
"prop": "cardHeader",
"version": "2.0.0",
"description": "Set this prop when the nav is placed inside a card header"
},
{
"prop": "fill",
"description": "Proportionately fills all horizontal space with nav items. All horizontal space is occupied, but not every nav item has the same width"
},
{
"prop": "justified",
"description": "Fills all horizontal space with nav items, but unlike 'fill', every nav item will be the same width"
},
{
"prop": "pills",
"description": "Renders the nav items with the appearance of pill buttons"
},
{
"prop": "small",
"description": "Makes the nav smaller"
},
{
"prop": "tabs",
"description": "Renders the nav items with the appearance of tabs"
},
{
"prop": "vertical",
"description": "Renders the nav vertically"
}
],
"slots": [
{
"name": "default",
"description": "Content to place in the nav"
}
]
},
{
"component": "BNavItem",
"props": [
{
"prop": "linkAttrs",
"description": "Additional attributes to place on the nested link element"
},
{
"prop": "linkClasses",
"description": "CSS class (or classes) to place on the nested link element"
}
],
"slots": [
{
"name": "default",
"description": "Content to place in the nav item"
}
]
},
{
"component": "BNavText",
"slots": [
{
"name": "default",
"description": "Content to place in the nav text"
}
]
},
{
"component": "BNavForm",
"props": [
{
"prop": "formClass",
"description": "CSS class (or classes) to add to the form"
},
{
"prop": "novalidate",
"description": "When set, disables browser native HTML5 validation on controls in the form"
},
{
"prop": "validated",
"description": "When set, adds the Bootstrap class 'was-validated' on the form, triggering the native browser validation states"
}
],
"events": [
{
"event": "submit",
"description": "Emitted when the form is being submitted",
"args": [
{
"arg": "event",
"type": "Event",
"description": "Native submit event"
}
]
}
],
"slots": [
{
"name": "default",
"description": "Content to place in the nav form"
}
]
},
{
"component": "BNavItemDropdown",
"aliases": [
"BNavItemDd",
"BNavDropdown",
"BNavDd"
],
"props": [
{
"prop": "boundary",
"version": "2.4.0",
"description": "The boundary constraint of the menu: 'scrollParent', 'window', 'viewport', or a reference to an HTMLElement. Has no effect when dropdown is inside a `<b-navbar>`"
},
{
"prop": "dropleft",
"description": "When set, positions the menu to the left of the button"
},
{
"prop": "dropright",
"description": "When set, positions the menu to the right of the button"
},
{
"prop": "dropup",
"description": "When set, positions the menu on the top of the button"
},
{
"prop": "html",
"description": "HTML string to place in the toggle element (link)",
"xss": true
},
{
"prop": "lazy",
"description": "When set, will only mount the menu content into the DOM when the menu is open"
},
{
"prop": "menuClass",
"description": "CSS class (or classes) to add to the menu container"
},
{
"prop": "noCaret",
"description": "Hide the caret indicator on the toggle element (link)"
},
{
"prop": "noFlip",
"description": "Prevent the menu from auto flipping positions"
},
{
"prop": "popperOpts",
"description": "Additional configuration to pass to Popper.js"
},
{
"prop": "right",
"description": "Align the right edge of the menu with the right of the button"
},
{
"prop": "text",
"description": "Text to place in the toggle element (link)"
},
{
"prop": "toggleClass",
"description": "CSS class (or classes) to add to the toggle element (link)"
}
],
"events": [
{
"event": "hidden",
"description": "Emitted when dropdown is hidden"
},
{
"event": "hide",
"description": "Emitted just before dropdown is hidden. Cancelable",
"args": [
{
"arg": "bvEvent",
"type": "BvEvent",
"description": "BvEvent object. Call bvEvent.preventDefault() to cancel hide"
}
]
},
{
"event": "show",
"description": "Emitted just before dropdown is shown. Cancelable",
"args": [
{
"arg": "bvEvent",
"type": "BvEvent",
"description": "BvEvent object. Call bvEvent.preventDefault() to cancel show"
}
]
},
{
"event": "shown",
"description": "Emitted when dropdown is shown"
},
{
"event": "toggle",
"description": "Emitted when toggle button is clicked"
}
],
"slots": [
{
"name": "button-content",
"description": "Can be used to implement custom text with icons and more styling"
},
{
"name": "default",
"description": "Optionally scoped default slot for dropdown menu content",
"scope": [
{
"prop": "hide",
"type": "Function",
"description": "Can be used to close the dropdown menu. Accepts an optional boolean argument, which if true returns focus to the toggle button"
}
]
}
]
}
]
}
}