Messages
configurationDefines the text of the checked and unchecked labels that are displayed within the Switch. All labels support localization.
The
messagesproperty is applicable only for theDefaultandClassicthemes. All other themes, by design, do not showcheckedanduncheckedmessages.
messages
Objectmessages.checked
StringThe label for the checked state of the Switch.
The
messagesproperty is applicable only for theDefaultandClassicthemes. All other themes, by design, do not showcheckedanduncheckedmessages.
Default: "On"
messages.unchecked
StringThe label for the unchecked state of the Switch.
The
messagesproperty is applicable only for theDefaultandClassicthemes. All other themes, by design, do not showcheckedanduncheckedmessages.
Default: "Off"