Properties
Name | Attribute | Type | Description |
---|---|---|---|
label | label |
|
Text label. |
data | data |
|
Data associated with the component. |
hint | hint |
|
A 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. |
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. |
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 |
---|---|
|
Width. |
|
Height. |
|
Padding. |
|
Label Font Color. |
|
Label Font Family. |
|
Label Font Size. |
|
Label Font Weight. |
|
Label Line Height. |
|
Label Spacing. |
|
Hint Font Color. |
|
Hint Font Family. |
|
Hint Font Size. |
|
Hint Font Weight. |
|
Error Font Color. |
|
Error Font Family. |
|
Error Font Size. |
|
Error Font Weight. |
|
Background Color. |
|
Border Width. |
|
Border Style. |
|
Border Color. |
|
Border Radius. |
|
Indicator Border Width. |
|
Indicator Border Color. |
|
Indicator Color. |
|
Checked Background color. |
|
Hover Box Shadow. |
|
Hover Background Color. |
|
Disabled Border Color. |
|
Disabled Background Color. |