angular-deep-blur

Child-aware blur handler for Angular

Usage no npm install needed!

<script type="module">
  import angularDeepBlur from 'https://cdn.skypack.dev/angular-deep-blur';
</script>

README

angular-deep-blur

angular-deep-blur detects when neither the element nor any of its children are in focus (i.e. the element is blurred by the focusing of another element outside the element.) This is especially useful if you want to hide a dropdown on blur.

Demo and documentation