OOjsUI
Object-Oriented JavaScript – User Interface
|
Public Member Functions | |
__construct (Element $element, array $config=array()) | |
setTitle ($title) | |
Set title. More... | |
getTitle () | |
Get title. 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 = 'titled' |
![]() | |
static string | $targetPropertyName = '' |
Property name for accessing the target on the element. | |
Protected Attributes | |
string | $title = null |
Title text. | |
![]() | |
Element | $element = null |
Element being mixed into. | |
Additional Inherited Members | |
![]() | |
Tag | $target = null |
Tag being targeted. | |
Element with a title.
Titles are rendered by the browser and are made visible when hovering the element. Titles are not visible on touch devices.
OOUI\TitledElement::__construct | ( | Element | $element, |
array | $config = array() |
||
) |
OOUI\TitledElement::getTitle | ( | ) |
Get title.
OOUI\TitledElement::setTitle | ( | $title | ) |
Set title.
string | null | $title | Title text or null for no title |