src/services/focusManager/focus-manager.service.ts
Properties |
Methods |
|
constructor()
|
This line is required to access the non static elements of the class |
focus | ||||||||||||
focus(component: any, event: any)
|
||||||||||||
Focus focus manager service
Parameters :
Returns :
void
|
Private triggerLeaveEvents | ||||||
triggerLeaveEvents(event: any)
|
||||||
Triggers leave events If the component is inside a container that subscribes the leave event then the event will be raised if the new focused component is in another container
Parameters :
Returns :
void
|
activeComponent |
Type : any
|
Active component of focus manager service Holds a pointer to the component instance of the current focused component in the application. |
Static current |
Type : FocusManagerService
|
Default value : null
|
Gives access to the FocusManagerService service without instance |
oldActiveComponent |
Type : any
|
Old active component of focus manager service Holds an instance to the previous focused component in the application. |