Search results
98 packages found
Trap focus within a DOM node.
It is a trap! (for a focus)
A dangerously convienient, high performance and super lightweight utility (2.7kb) that injects methods into the Object prototype to sugar for many common use cases working with Javascript objects.
A react hook to trap the focus within a reference
Wrap `require` in a try/catch block.
Vue component to trap the focus within a DOM element
Modal component for Svelte
Vue3 and Vue2 directive for keyboard navigation - roving movement and trapping inside container
Observe the object property getter, setter or method calls and add custom behavior.
Trap focus inside specified HTML element. Vanilla JS with size <0.5kb. No dependencies. Easy to use with React, Angular or Raw Javascript
A tiny focus trapping utility that respects shadow DOMs and slots.
SolidJS utility that traps focus inside a given DOM element.
Determines which child elements are interactive according to the WHATWG spec
Parse a string as JSON.
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- then
- try-catch
- try-then
- View more
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- try-catch
- trap
- control
- View more
Trap keyboard focus inside an element
Get focusable child elements of a DOM element