mw.widgets.ToggleSwitchWidget(configopt)

new mw.widgets.ToggleSwitchWidget(configopt) #

This extends ToggleSwitchWidget by adding an invisible checkbox element which will be used to submit the value.

Parameters:

Name Type Attributes Description
config Object <optional>

Configuration options

Properties
Name Type Attributes Description
name string <optional>

Name of input to submit results (when used in HTML forms)

Source:

This extends ToggleSwitchWidget by adding an invisible checkbox element which will be used to submit the value.

Extends