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
* Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of `.dropdown-toggle-split` className for proper spacing around the dropdown caret.
75
75
*/
76
76
split:Boolean,
77
+
/**
78
+
* Screen reader label for split button dropdown toggle.
79
+
*
80
+
*@since 5.7.0
81
+
*/
82
+
splitLabel:{
83
+
type:String,
84
+
default:'Toggle Dropdown',
85
+
},
77
86
/**
78
87
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|**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|
14
+
|**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\| 'inside'\| 'outside'| -| true|
15
15
|**container** <br><divclass="badge bg-primary">5.0.0+</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
-
|**reference** <br><divclass="badge bg-primary">5.7.0+</div>| Sets the reference element for positioning theReact Dropdown Menu.<br>-`toggle` - TheReact Dropdown Toggle button (default).<br>-`parent` - TheReact Dropdown wrapper element.<br>-`HTMLElement` - A custom HTML element.<br>-`Ref` - A custom reference element.| 'parent'\| 'toggle'\| HTMLElement\| Ref<HTMLElement\| null>| -| 'toggle'|
22
+
|**reference** <br><divclass="badge bg-primary">5.7.0+</div>| Sets the reference element for positioning theVue Dropdown Menu.<br>-`toggle` - TheVue Dropdown Toggle button (default).<br>-`parent` - TheVue Dropdown wrapper element.<br>-`HTMLElement` - A custom HTML element.<br>-`Ref` - A custom reference element.| 'parent'\| 'toggle'\| HTMLElement\| Ref<HTMLElement\| null>| -| 'toggle'|
23
23
|**teleport** <br><divclass="badge bg-primary">5.0.0+</div>| Generates dropdown menu using Teleport.| boolean| -| false|
24
24
|**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'|
25
25
|**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'|