Skip to content

SiLoadingButtonComponent documentation

selector
si-loading-button

Input Properties

Name Type Default Description
ariaLabel
TranslatableString aria-label for the button
ariaLabelledBy
string aria-labelledby for the button
buttonClass
string '' CSS class for the button.
disabled
boolean false Whether the button is disabled.
loading
boolean false Whether the loading state should be displayed.
type
("button" | "reset" | "submit") 'button' Type of the button.

Types Documentation

Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality.

Except where otherwise noted, content on this site is licensed under MIT License.