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 { ...@@ -74,18 +74,18 @@ class ToggleSwitch extends CustomControl {
* The individual configuration values can be found in the table. * The individual configuration values can be found in the table.
* *
* @property {string} value=current value of the element * @property {string} value=current value of the element
* @property {Boolean} disabled=disabled=false Disabled state * @property {Boolean} disabled Disabled state
* @property {Object} classes * @property {Object} classes
* @property {string} classes.on=specifies the class for the on state. * @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.off specifies the class for the off state.
* @property {Object} values * @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 {Object} labels
* @property {string} labels.on=specifies the label for the on 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} labels.off specifies the label for the off state.
* @property {string} actions * @property {string} actions
* @property {string} actions.on=specifies the action for the on state. * @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.off specifies the action for the off state.
* @property {Object} templates * @property {Object} templates
* @property {string} templates.main the main template used by the control. * @property {string} templates.main the main template used by the control.
*/ */
...@@ -104,8 +104,8 @@ class ToggleSwitch extends CustomControl { ...@@ -104,8 +104,8 @@ class ToggleSwitch extends CustomControl {
off: "off", off: "off",
}, },
labels: { labels: {
toggleSwitchOn: "", toggleSwitchOn: "✔ˆš",
toggleSwitchOff: "", toggleSwitchOff: "×",
}, },
templates: { templates: {
main: getTemplate(), main: getTemplate(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment