OOjsUI
Object-Oriented JavaScript – User Interface
|
Element containing an indicator. More...
Public Member Functions | |
__construct (Element $element, array $config=array()) | |
setIndicator ($indicator=null) | |
Set indicator name. More... | |
getIndicator () | |
Get indicator name. More... | |
getConfig (&$config) | |
![]() | |
__construct (Element $element, Tag $target, array $config=array()) | |
Create element. More... | |
getConfig (&$config) | |
Add properties to the given $config array to allow reconstruction of this widget via its constructor. More... | |
Static Public Attributes | |
static | $targetPropertyName = 'indicator' |
![]() | |
static string | $targetPropertyName = '' |
Property name for accessing the target on the element. | |
Protected Attributes | |
string null | $indicator = null |
Symbolic indicator name. More... | |
![]() | |
Element | $element = null |
Element being mixed into. | |
Additional Inherited Members | |
![]() | |
Tag | $target = null |
Tag being targeted. | |
Element containing an indicator.
Indicators are graphics, smaller than normal text. They can be used to describe unique status or behavior. Indicators should only be used in exceptional cases; such as a button that opens a menu instead of performing an action directly, or an item in a list which has errors that need to be resolved.
OOUI\IndicatorElement::__construct | ( | Element | $element, |
array | $config = array() |
||
) |
OOUI\IndicatorElement::getIndicator | ( | ) |
Get indicator name.
OOUI\IndicatorElement::setIndicator | ( | $indicator = null | ) |
Set indicator name.
string | null | $indicator | Symbolic name of indicator to use or null for no indicator |
|
protected |
Symbolic indicator name.