@40three/ngx-autofocus-directive
The html `autofocus` attribute is a handy way to set the focus. The problem is, that it works only the first time when an element is shown and that's normally not, what we expect in SPAs. This small directive sets the focus everytime the element is shown.
66
Security score
0 known advisories in v0.0.0
OpenSSF Scorecard 2.0/10
Weekly downloads
—
Unpacked size
27.3 kB
Dependencies
1
Last publish
5 years ago
Security advisories
No known vulnerabilities affect v0.0.0.
OpenSSF ScorecardJul 20, 2026
- Maintained0
- Code-Review0
- SAST0
- Binary-Artifacts10
- CII-Best-Practices0
- Security-Policy0
- Fuzzing0
- License10
- Branch-Protection0