Boolean

Allows you to display boolean controls for your widget. The control displays as a checkbox.


Widget Configuration Output

{
"displayControls": true
}

User Interface Output

output


JSON Schema

PropertyTypeDescriptionExample
typestringThe type of setting component to display.”boolean”
labelstringThe user friendly message to inform the user how this setting will be used.”Display video controls”
idstringThe variable name where the setting value will be available in the widget template.”displayControls”
defaultbooleanThe default value to use when rendering the widget for the first time.True