MediaWiki master
MediaWiki\Widget\ToggleSwitchWidget Class Reference

Base class for widgets to warp a checkbox into toggle widget. More...

Inherits CheckboxInputWidget.

Collaboration diagram for MediaWiki\Widget\ToggleSwitchWidget:

Public Member Functions

 __construct (array $config=[])
 

Protected Member Functions

 getJavaScriptClassName ()
 

Detailed Description

Base class for widgets to warp a checkbox into toggle widget.

Note
2017 MediaWiki Widgets Team and others; see AUTHORS.txt
MIT

Definition at line 13 of file ToggleSwitchWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\ToggleSwitchWidget::__construct ( array $config = [])

Definition at line 15 of file ToggleSwitchWidget.php.

Member Function Documentation

◆ getJavaScriptClassName()

MediaWiki\Widget\ToggleSwitchWidget::getJavaScriptClassName ( )
protected

Definition at line 22 of file ToggleSwitchWidget.php.


The documentation for this class was generated from the following file: