|
The Toggle Button widget is available as a standard widget in the platform and as a web component that can be imported from an SDK.
|
Property Name
|
Description
|
Base Type
|
Default Value
|
Bindable? (Y/N)
|
Localizable? (Y/N)
|
||
---|---|---|---|---|---|---|---|
State
|
Enables you to set the state of the toggle button as on/off..
|
BOOLEAN
|
False
|
Y
|
N
|
||
Disabled
|
Use this property to disable the widget in the mashup. The widget is displayed in the mashup but you cannot click it.
|
BOOLEAN
|
False
|
Y
|
N
|
||
Label
|
The text that is displayed next to the toggle button.
|
STRING
|
n/a
|
Y
|
Y
|
||
LabelMaxWidth
|
Enables you to set a maximum width for the label The label is displayed on multiple lines when the maximum width is reached.
|
NUMBER
|
n/a
|
N
|
N
|
||
TabSequence
|
The sequence of the widgets in which they are highlighted when the user presses Tab key.
|
NUMBER
|
n/a
|
N
|
N
|
||
CustomClass
|
Enables you to define the CSS to the top div of the widget. Multiple classes can be entered, separated by space.
|
STRING
|
n/a
|
Y
|
N
|
||
LabelAlignment
|
Enables you to align the label to the left or right of the toggle button.
|
STRING
|
Left
|
N
|
N
|
||
ResetToDefaultValue
|
Resets the input for this widget to its default values.
|
n/a
|
n/a
|
Y
|
N
|
||
Width
|
The width of the widget. The width is set to the width of the label by default. Enter a value in the property panel or resize the widget in the canvas to set a fixed width.
|
NUMBER
|
n/a
|
N
|
N
|
||
Height
|
The height of the widget. The height is set to the maximum width of the label by default. It increases if the widget has multiline label. Enter a value in the property panel or resize the widget in the canvas to set a fixed height.
|
NUMBER
|
n/a
|
N
|
N
|
||
TooltipField
|
Sets a tooltip text that is displayed when you hover over the widget.
|
STRING
|
n/a
|
Y
|
Y
|
||
TooltipIcon
|
Sets an icon image for the tooltip of the widget.
You can add an image or specify an image URL path.
|
MEDIA ENTITY
|
n/a
|
N
|
N
|