Button

Contents

Preview

Open preview in new tab

Props

Name Description Type Required Reactive Default
htmlElement The underlying <button> null | HTMLButtonElement false true
buttonStyle Controls the button's style. Can be either "primary", "secondary", "tertiary" or "danger" string false false "primary"
disabled Controls the button's disabled state boolean false false false
type Sets the type of the <button> string false false "button"

Slots

Default default

icon

Events

click forwarded

Documentation generated by sveld