Switches (Radio)
Switches have the following properties:
Property | Required? | Type | Options | Description |
---|---|---|---|---|
bg | no | string |
|
Background color of the Switch. |
dialBg | no | string |
|
The background color of the switch radial knob. |
id | string | Value of the id attribute for the Switch (radio input). | ||
value | string | Value of the default value of the Switch. |
Basic Examples
Basic Switch example.
1<x-fcui-switch-radio id="switchOne">2 Switch Label Goes Here3</x-fcui-switch-radio>
Advanced Example
Switch with a background and no label.
1<x-fcui-switch-radio id="switchThree" bg="success" value="status"></x-fcui-switch-radio>