MediaWiki REL1_39
PendingTextInputWidget.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Widget;
4
5use OOUI\TextInputWidget;
6
10class PendingTextInputWidget extends TextInputWidget {
11
15 public function __construct( array $config = [] ) {
16 $config = array_merge( [
17 'disabled' => true,
18 ], $config );
19
20 parent::__construct( $config );
21
22 // Initialization
23 $this->input->addClasses( [ 'mw-widgets-pendingTextInputWidget oo-ui-pendingElement-pending' ] );
24 }
25}
Text input widget that displays pending animation.