Element supporting "sequential focus navigation" using the 'tabindex' attribute.
More...
|
static | $targetPropertyName = 'tabIndexed' |
|
static string | $targetPropertyName = '' |
| Property name for accessing the target on the element.
|
|
Element supporting "sequential focus navigation" using the 'tabindex' attribute.
OOUI\TabIndexedElement::__construct |
( |
Element |
$element, |
|
|
array |
$config = array() |
|
) |
| |
- Parameters
-
Element | $element | Element being mixed into |
array | $config | Configuration options |
number | null | $config,['tabIndex'] | Tab index value. Use 0 to use default ordering, use -1 to prevent tab focusing, use null to suppress the tabindex attribute. (default: 0) |
OOUI\TabIndexedElement::getTabIndex |
( |
| ) |
|
Get tab index value.
- Returns
- number|null Tab index value
OOUI\TabIndexedElement::setTabIndex |
( |
|
$tabIndex | ) |
|
Set tab index value.
- Parameters
-
number | null | $tabIndex | Tab index value or null for no tab index |
- Returns
- $this
OOUI\TabIndexedElement::updateTabIndex |
( |
| ) |
|
Update the tabIndex attribute, in case of changes to tabIndex or disabled state.
- Returns
- $this
The documentation for this class was generated from the following file:
- php/mixins/TabIndexedElement.php