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: 7 months ago
JSON representation

Lightweight vanilla js Trapping tab key focus function within the Element (just 1kb) , No dependencies

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 Modal

modal.open('idContent'); // to open Modal with wanted html content

// modal.close(); // to close Modal

### HTML code to insert in Modal




```