Find Focused Element
This library provides an easy way to get a focused HTML element.
Demo: https://stackblitz.com/edit/angular-uj2nvt
Quick Start
Add it to your project
npm install --save find-focused-element
Import using ES Modules:
;
Or as a CommonJS:
const findFocusedElem = ;
Use:
const elem = ;
Browser Support
The library has been tested in:
- Latest Edge, Firefox, Chrome, Opera, Safari (Mac)
- iOS 11 Safari
- IE 8-11