Properties
Name | Attribute | Type | Description |
---|---|---|---|
label | label |
|
Text label. |
data | data |
|
Data associated with the component. |
hint | hint |
|
Hint message to assist the user. |
error | error |
|
An error message to guide users to correct a mistake. |
checked | checked |
|
Indicator if the component is checked or not. |
disabled | disabled |
|
Indicator if the component is disabled. |
indeterminate | indeterminate |
|
Indicator if the component is in and indeterminate state. |
dir | dir |
|
Used to set the base direction of text for display |
lang | lang |
|
Used to identify the language of text content on the web |
Events
Name | Type | Description |
---|---|---|
value-change |
|
Dispatched when the control value is changed to either on or off. |
Slots
Name | Description |
---|---|
|
Used to define content that is displayed while async rendering is awaiting, or when renderLoading() is implicitly called |
|
Content to render inside the component. |
|
Replaces the icon for the indeterminate state |
|
Replaces the icon for the checked state |
Theme Variables
Name | Description |
---|---|
|
Theme primary color. |
|
Theme primary hover color. |
|
Theme primary active color. |
|
Theme accent color. |
|
Theme accent hover color. |
|
Theme accent active color. |
|
Theme background color. |
|
Theme background hover color. |
|
Theme background active color. |
|
Theme font color. |
|
Theme disabled border color. |
|
Theme disabled background color. |
|
Theme disabled background color. |
|
Theme error border color. |
|
Theme hint font color. |
|
Theme inactive color. |
|
Theme inactive color. |
|
Theme font family. |
|
Theme font size. |
|
Theme font weight. |
|
Theme border radius. |
|
Theme border width. |
|
Theme box shadow. |
Component Variables
Name | Description |
---|---|
|
Label font color. |
|
Label font family. |
|
Label font size. |
|
Label font weight. |
|
Label spacing. |
|
Hint font color. |
|
Hint font family. |
|
Hint font size. |
|
Hint font weight. |
|
Hint top padding. |
|
Error font color. |
|
Error font family. |
|
Error font size. |
|
Error font weight. |
|
Error top padding. |
|
Width. |
|
Height. |
|
Background color. |
|
Border width. |
|
Border color. |
|
Border radius. |
|
Indicator Border width. |
|
Indicator Border color. |
|
Indicator color. |
|
Indicator icon width. |
|
Indicator icon height. |
|
Checked Background color. |
|
Indeterminate Background color. |
|
Disabled Background color. |
|
Disabled border color. |
|
Hover box shadow. |
|
Hover background color. |