Css class list
Whether the switch is disabled
Sets the id attribute of the switch button
Whether loading is visible
Whether the switch is ON
Css modifier for the switch
Sets the OFF text message
Sets the ON text message
Selection changed emitter. Returns the current selection state (true of false)
Whether to show the OFF/ON text
Generates the css modifiers of the wrapper
Gets the ON/OFF icon name
Generates the css modifiers of the button
Gets the ON/OFF text
Handles selection changed
Generated using TypeDoc
API reference for SfSwitchComponent
import {SfSwitchModule} from "@progress/sitefinity-component-framework";
selector:
sf-switch
description: Represents a switch/toggle button with ON and OFF states