JavaScript Data GridPlugin: CreateFocusScopeManager
Methods
activateScope
Source codecreateFocusScopeManager~activateScope(scope, focusSource)
Activates a specific scope.
| Param | Type | Description |
|---|---|---|
| scope | object | The scope to activate. |
| focusSource | 'unknown' 'click' 'tab_from_above' 'tab_from_below' | The source of the focus event. |
deactivateScope
Source codecreateFocusScopeManager~deactivateScope(scope)
Deactivates a scope by its ID.
| Param | Type | Description |
|---|---|---|
| scope | object | The scope to deactivate. |
processScopes
Source codecreateFocusScopeManager~processScopes(target, focusSource)
Activates or deactivates the appropriate scope based on the target element that was triggered by the focus or click event.
| Param | Type | Description |
|---|---|---|
| target | HTMLElement | The target element. |
| focusSource | 'unknown' 'click' 'tab_from_above' 'tab_from_below' | The source of the focus event. |
updateScopesFocusVisibilityState
Source codecreateFocusScopeManager~updateScopesFocusVisibilityState()
Updates the focus scopes state by enabling or disabling them or their focus catchers to make sure that the next native focus move won't be disturbed.