@novyk/sx-focus-listener

Handles focus/blur from a group of elements.

Usage no npm install needed!

<script type="module">
  import novykSxFocusListener from 'https://cdn.skypack.dev/@novyk/sx-focus-listener';
</script>

README

sx-focus-listener

Focus listener service for Angular

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 <body>).

Installation

$ npm i @novyk/sx-focus-listener