MediaWiki REL1_40
MediaWiki\Html\ListToggle Class Reference

Class for generating clickable toggle links for a list of checkboxes. More...

Public Member Functions

 __construct (OutputPage $output)
 
 getHTML ()
 

Detailed Description

Class for generating clickable toggle links for a list of checkboxes.

This is only supported on clients that have JavaScript enabled; it is hidden for clients that have it disabled.

Since
1.27

Definition at line 35 of file ListToggle.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Html\ListToggle::__construct ( OutputPage $output)

Definition at line 39 of file ListToggle.php.

References OutputPage\addModules(), and OutputPage\addModuleStyles().

Member Function Documentation

◆ getHTML()

MediaWiki\Html\ListToggle::getHTML ( )
Returns
string

Definition at line 57 of file ListToggle.php.

References MediaWiki\Html\Html\rawElement().


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