Switch Button API Reference

Properties

animation string advanced
clickMode string release
checked boolean false
disabled boolean false
falseContent string ""
falseTemplate any null
indeterminate boolean false
inverted boolean false
locale string en
localizeFormatFunction function null
messages object {"en":{"propertyUnknownType":"'{{name}}' property is with undefined 'type' member!","propertyInvalidValue":"Invalid '{{name}}' property value! Actual value: {{actualValue}}, Expected value: {{value}}!","propertyInvalidValueType":"Invalid '{{name}}' property value type! Actual type: {{actualType}}, Expected type: {{type}}!","elementNotInDOM":"Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.","moduleUndefined":"Module is undefined.","missingReference":"{{elementType}}: Missing reference to {{files}}.","htmlTemplateNotSuported":"{{elementType}}: Browser doesn't support HTMLTemplate elements.","invalidTemplate":"{{elementType}}: \"{{property}}\" property accepts a string that must match the id of an HTMLTemplate element from the DOM."}}
name string ""
orientation string horizontal
readonly boolean false
trueContent string ""
trueTemplate string null
switchMode string default
theme string
unfocusable boolean false
value string ""

Events

change Event