Skip to content
Snippets Groups Projects
Verified Commit ba422d6f authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: update doc

parent d8ef828f
No related branches found
No related tags found
No related merge requests found
......@@ -74,18 +74,18 @@ class ToggleSwitch extends CustomControl {
* The individual configuration values can be found in the table.
*
* @property {string} value=current value of the element
* @property {Boolean} disabled=disabled=false Disabled state
* @property {Boolean} disabled Disabled state
* @property {Object} classes
* @property {string} classes.on=specifies the class for the on state.
* @property {string} classes.off=specifies the class for the off state.
* @property {string} classes.on specifies the class for the on state.
* @property {string} classes.off specifies the class for the off state.
* @property {Object} values
* @property {string} values.off=specifies the value of the element if it is not selected
* @property {string} values.off specifies the value of the element if it is not selected
* @property {Object} labels
* @property {string} labels.on=specifies the label for the on state.
* @property {string} labels.off=specifies the label for the off state.
* @property {string} labels.on specifies the label for the on state.
* @property {string} labels.off specifies the label for the off state.
* @property {string} actions
* @property {string} actions.on=specifies the action for the on state.
* @property {string} actions.off=specifies the action for the off state.
* @property {string} actions.on specifies the action for the on state.
* @property {string} actions.off specifies the action for the off state.
* @property {Object} templates
* @property {string} templates.main the main template used by the control.
*/
......@@ -104,8 +104,8 @@ class ToggleSwitch extends CustomControl {
off: "off",
},
labels: {
toggleSwitchOn: "",
toggleSwitchOff: "",
toggleSwitchOn: "✔ˆš",
toggleSwitchOff: "×",
},
templates: {
main: getTemplate(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment