Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/idurar/vanilla-js-trapping-tab-key-focus
Lightweight vanilla js Trapping tab key focus function within the Element (just 1kb) , No dependencies
https://github.com/idurar/vanilla-js-trapping-tab-key-focus
element focus key tab trap vanilla-javascript vanilla-js within
Last synced: about 1 month ago
JSON representation
Lightweight vanilla js Trapping tab key focus function within the Element (just 1kb) , No dependencies
- Host: GitHub
- URL: https://github.com/idurar/vanilla-js-trapping-tab-key-focus
- Owner: idurar
- License: mit
- Created: 2020-10-13T15:35:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-13T16:44:18.000Z (over 4 years ago)
- Last Synced: 2024-11-19T13:53:45.316Z (3 months ago)
- Topics: element, focus, key, tab, trap, vanilla-javascript, vanilla-js, within
- Language: JavaScript
- Homepage: https://idurar.github.io/vanilla-js-trapping-tab-key-focus/
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lightweight vanilla js Trapping tab key focus inside Element (just 2kb)
Lightweight vanilla js Trapping tab key focus function within the Element (just 1kb) , No dependencies
check demo here : https://idurar.github.io/vanilla-js-trapping-tab-key-focus/
```markdown
### javascript code to open Modalmodal.open('idContent'); // to open Modal with wanted html content
// modal.close(); // to close Modal
### HTML code to insert in Modal
```