type
|
The button type, defaults to "button", mainly used for instances like modal X to close style buttons
where you don't want to set a type at all. Setting to nil makes button have no type.
|
:string
|
—
|
"button"
|
label
|
The label of the button, when no content (default slot) is provided.
|
:string
|
—
|
—
|
aria_label
|
The aria label for the button.
|
:string
|
—
|
—
|
color
|
The color of the button.
|
:string
|
white , black , light , dark , primary , link , info , success , warning , danger
|
—
|
size
|
The vertical size of button.
|
:string
|
small , normal , medium , large
|
—
|
value
|
The value for the button.
|
:string
|
—
|
—
|
expand
|
Button is expanded (full-width).
|
:boolean
|
—
|
—
|
disabled
|
Set the button as disabled preventing the user from interacting with the control.
|
:boolean
|
—
|
—
|
outlined
|
Outlined style.
|
:boolean
|
—
|
—
|
rounded
|
Rounded style.
|
:boolean
|
—
|
—
|
hovered
|
Hovered style.
|
:boolean
|
—
|
—
|
focused
|
Focused style.
|
:boolean
|
—
|
—
|
active
|
Active style.
|
:boolean
|
—
|
—
|
selected
|
Selected style.
|
:boolean
|
—
|
—
|
loading
|
Loading state.
|
:boolean
|
—
|
—
|
class
|
Css classes to propagate down to button. Default class if no class supplied is simply button.
|
:css_class
|
—
|
[]
|
opts
|
Additional attributes to add onto the generated element.
|
:keyword
|
—
|
[]
|