Skip to content

Latest commit

 

History

History

Dropdown

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Dropdown

<Dropdown :items="[Item]" />

Imported Props

Prop name Description Type Values Default
items The items of the dropdown menu Item[] - () => []
menuClass The classes that will be forwarded to the menu string|array|object - undefined
size The size of the component Size (string) - 'md'
variant The variant of the component Variant (string) - 'primary'

Events

Name Args Description
show Fires immediately when the show instance method is called
shown Fired when the dropdown has been made visible to the user and CSS transitions have completed
hide Fires immediately when the hide instance method has been called
hidden Fired when the dropdown has finished being hidden from the user and CSS transitions have completed

Slots

Name Description Bindings
dropdownToggle Displays the dropdown toggle
default Displays content inside the dropdown toggle
dropdownMenu Displays the dropdown menu
items array - The Item list
prepend Forwarded to child
items Forwarded to child
item Forwarded to child
append Forwarded to child