OOjsUI
Object-Oriented JavaScript – User Interface
|
Element with an accesskey. More...
Public Member Functions | |
__construct (Element $element, array $config=array()) | |
setAccessKey ($accessKey) | |
Set access key. More... | |
getAccessKey () | |
Get AccessKey. 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 = 'accessKeyed' |
![]() | |
static string | $targetPropertyName = '' |
Property name for accessing the target on the element. | |
Protected Attributes | |
string | $accessKey = null |
Accesskey. More... | |
![]() | |
Element | $element = null |
Element being mixed into. | |
Additional Inherited Members | |
![]() | |
Tag | $target = null |
Tag being targeted. | |
Element with an accesskey.
Accesskeys allow an user to go to a specific element by using a shortcut combination of a browser specific keys + the key set to the field.
OOUI\AccessKeyedElement::__construct | ( | Element | $element, |
array | $config = array() |
||
) |
OOUI\AccessKeyedElement::getAccessKey | ( | ) |
Get AccessKey.
OOUI\AccessKeyedElement::setAccessKey | ( | $accessKey | ) |
Set access key.
string | $accessKey | Tag's access key, use empty string to remove |
|
protected |
Accesskey.