Skip to main content

Dropdown button

Since 1.3.0

Development

Examples

Basic

PreviewAngularReactVueJavaScript

Icon

PreviewAngularReactVueJavaScript

API

Properties

Name
Description and specifications
closeBehavior
Since 2.1.0
Controls if the dropdown will be closed in response to a click event depending on the position of the event relative to the dropdown.
Attribute:
close-behavior
Type:
"both" | "inside" | "outside" | boolean
Default:
'both'
disabled
Disable button
Attribute:
disabled
Type:
boolean
Default:
false
ghost
Button with no background or outline
Attribute:
ghost
Type:
boolean
Default:
false
icon
Button icon
Attribute:
icon
Type:
string | undefined
label
Set label
Attribute:
label
Type:
string | undefined
outline
Outline button
Attribute:
outline
Type:
boolean
Default:
false
placement
Since 2.0.0
Placement of the dropdown
Attribute:
placement
Type:
"bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined
variant
Button variant
Attribute:
variant
Type:
"danger" | "primary" | "secondary"
Default:
'primary'

Events

No events available for this component.