Angular Data GridPlugin: CreateFocusScopeManager

Methods

activateScope

Source code

createFocusScopeManager~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 code

createFocusScopeManager~deactivateScope(scope)

Deactivates a scope by its ID.

Param Type Description
scope object The scope to deactivate.

processScopes

Source code

createFocusScopeManager~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 code

createFocusScopeManager~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.