8 * See IndicatorElement for more information.
10 class IndicatorWidget extends Widget {
14 /* Static Properties */
16 public static $tagName = 'span';
19 * @param array $config Configuration options
21 public function __construct( array $config = [] ) {
23 parent::__construct( $config );
26 $this->initializeIndicatorElement(
27 array_merge( $config, [ 'indicatorElement' => $this ] ) );
28 $this->initializeTitledElement(
29 array_merge( $config, [ 'titled' => $this ] ) );
32 $this->addClasses( [ 'oo-ui-indicatorWidget' ] );