Handles focus/blur from a group of elements.
If focus moves among elements in a defined group, blur event will not be fired.
Be aware that click on non-focusable elements will cause blur event (focus switch to
[kitSkipBlur] when you need to add overlayed (
*kitOverlay) element to a group.
ui-autocomplete we heed to omit blur event, if user click on a suggestion.
KitFocusListenerService in the directive, register main input and
ui-autocomplete-options element in
the service and subscribe on
Emits, if user focuses one of registered element.
Emits, if user focuses one of registered element or move focus among registered elements.
Emits, if focus leave one of registered element and target node is not one of registered element (or it's child).
Is one of registered element focused now.
Registers element in
KitFocusListener to avoid emitting blur if focus moves to the current element.
Important when you use
*kitOverlay, because items are placed in overlay-container outside of a current component.