MediaWiki master
MediaWiki\Widget\SpinnerWidget Class Reference

PHP version of jquery.spinner. More...

Inherits Stringable.

Collaboration diagram for MediaWiki\Widget\SpinnerWidget:

Public Member Functions

 __construct (array $config=[])
 __toString ()
 Magic method implementation.
 toString ()
 Render element into HTML.

Detailed Description

PHP version of jquery.spinner.

If used with jquery.spinner.styles, can be used to show a spinner before JavaScript has loaded.

2011-2020 MediaWiki Widgets Team and others; see AUTHORS.txt

Definition at line 18 of file SpinnerWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\SpinnerWidget::__construct ( array $config = [])
array$configConfiguration options

Definition at line 26 of file SpinnerWidget.php.

Member Function Documentation

◆ __toString()

MediaWiki\Widget\SpinnerWidget::__toString ( )

Magic method implementation.

Copied from OOUI\Tag


Definition at line 64 of file SpinnerWidget.php.

References MediaWiki\Widget\SpinnerWidget\toString().

◆ toString()

MediaWiki\Widget\SpinnerWidget::toString ( )

Render element into HTML.

string HTML serialization

Definition at line 53 of file SpinnerWidget.php.

Referenced by MediaWiki\Widget\SpinnerWidget\__toString().

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