You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`.
|**container** <br><divclass="badge bg-primary">v5.0.0-rc.1+</div> | An HTML element or function that returns a single element, with `document.body` as the default. | HTMLElement \| (() => HTMLElement) \| string | - | 'body' |
13
+
|**container** <br><divclass="badge bg-primary">v5.0.0-rc.2+</div> | An HTML element or function that returns a single element, with `document.body` as the default. | HTMLElement \| (() => HTMLElement) \| string | - | 'body' |
14
14
|**teleport**| Render some children into a different part of the DOM | boolean | - | true |
|**auto-close**| Configure the auto close behavior of the dropdown:<br>- `true` - the dropdown will be closed by clicking outside or inside the dropdown menu.<br>- `false` - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)<br>- `'inside'` - the dropdown will be closed (only) by clicking inside the dropdown menu.<br>- `'outside'` - the dropdown will be closed (only) by clicking outside the dropdown menu. | boolean\|string | - | true |
15
-
|**container** <br><divclass="badge bg-primary">v5.0.0-rc.1+</div> | Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`. | HTMLElement \| (() => HTMLElement) \| string | - | 'body' |
15
+
|**container** <br><divclass="badge bg-primary">v5.0.0-rc.2+</div> | Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`. | HTMLElement \| (() => HTMLElement) \| string | - | 'body' |
16
16
|**dark**| Sets a darker color scheme to match a dark navbar. | boolean | - | - |
17
17
|**direction**| Sets a specified direction and location of the dropdown menu. | string |`'center'`, `'dropup'`, `'dropup-center'`, `'dropend'`, `'dropstart'`| - |
18
18
|**disabled**| Toggle the disabled state for the component. | boolean | - | - |
19
19
|**offset** <br><divclass="badge bg-primary">4.9.0+</div> | Offset of the dropdown menu relative to its target. | array | - |[0, 2]|
20
20
|**placement**| Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. | Placement |`'auto'`, `'top-end'`, `'top'`, `'top-start'`, `'bottom-end'`, `'bottom'`, `'bottom-start'`, `'right-start'`, `'right'`, `'right-end'`, `'left-start'`, `'left'`, `'left-end'`| 'bottom-start' |
21
21
|**popper**| If you want to disable dynamic positioning set this property to `true`. | boolean | - | true |
22
-
|**teleport** <br><divclass="badge bg-primary">v5.0.0-rc.1+</div> | Generates dropdown menu using Teleport. | boolean | - | false |
22
+
|**teleport** <br><divclass="badge bg-primary">v5.0.0-rc.2+</div> | Generates dropdown menu using Teleport. | boolean | - | false |
23
23
|**trigger**| Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. | Triggers | - | 'click' |
24
24
|**variant**| Set the dropdown variant to an btn-group, dropdown, input-group, and nav-item. | string |`'btn-group'`, `'dropdown'`, `'input-group'`, `'nav-item'`| 'btn-group' |
25
25
|**visible**| Toggle the visibility of dropdown menu component. | boolean | - | - |
0 commit comments