IFocusable
Defined in: plugins/focus/FocusManagerPlugin.ts:16
Extends
Container
Properties
_accessibleDiv?
optional
_accessibleDiv:HTMLElement
Defined in: plugins/focus/FocusManagerPlugin.ts:21
Overrides
Container._accessibleDiv
accessible
accessible:
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:24
Flag for if the object is accessible. If true AccessibilityManager will overlay a shadow div with attributes set
Default
Overrides
Container.accessible
accessibleChildren
accessibleChildren:
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:29
Setting to false will prevent any children inside this container to be accessible. Defaults to true.
Default
Overrides
Container.accessibleChildren
accessibleHint
accessibleHint:
string
Defined in: plugins/focus/FocusManagerPlugin.ts:27
Sets the aria-label attribute of the shadow div
Overrides
Container.accessibleHint
accessiblePointerEvents?
optional
accessiblePointerEvents:PointerEvents
Defined in: plugins/focus/FocusManagerPlugin.ts:28
Specify the pointer-events the accessible div will use Defaults to auto.
Default
Overrides
Container.accessiblePointerEvents
accessibleTitle
accessibleTitle:
string
Defined in: plugins/focus/FocusManagerPlugin.ts:26
Sets the title attribute of the shadow div If accessibleTitle AND accessibleHint has not been this will default to ‘container [tabIndex]‘
Member
Overrides
Container.accessibleTitle
accessibleType
accessibleType:
string
Defined in: plugins/focus/FocusManagerPlugin.ts:25
Specify the type of div the accessible layer is. Screen readers treat the element differently depending on this type. Defaults to button.
Default
Overrides
Container.accessibleType
focusEnabled
focusEnabled:
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:19
isFocused
isFocused:
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:17
isKeyDown
isKeyDown:
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:18
onBlur
onBlur:
Signal
<(focusable
) =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:35
onFocus
onFocus:
Signal
<(focusable
) =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:34
onFocusIn
onFocusIn:
Signal
<(focusable
) =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:32
onFocusOut
onFocusOut:
Signal
<(focusable
) =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:33
tabIndex
tabIndex:
number
Defined in: plugins/focus/FocusManagerPlugin.ts:20
Default
Overrides
Container.tabIndex
Methods
blur()
blur():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:43
Returns
void
click()
click():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:41
Returns
void
focusIn()
focusIn():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:37
Returns
void
focusOut()
focusOut():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:39
Returns
void
getFocusArea()
getFocusArea():
Bounds
Defined in: plugins/focus/FocusManagerPlugin.ts:47
Returns
Bounds
getFocusPosition()
getFocusPosition():
null
|PointLike
Defined in: plugins/focus/FocusManagerPlugin.ts:49
Returns
null
| PointLike
getFocusSize()
getFocusSize():
null
|PointLike
Defined in: plugins/focus/FocusManagerPlugin.ts:51
Returns
null
| PointLike
getGlobalPosition()
getGlobalPosition():
Point
Defined in: plugins/focus/FocusManagerPlugin.ts:45
Returns
Point
Overrides
Container.getGlobalPosition