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.
Wrap `require` in a try/catch block.
A react hook to trap the focus within a reference
Vue3 and Vue2 directive for keyboard navigation - roving movement and trapping inside container
Vue component to trap the focus within a DOM element
Modal component for Svelte
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.
Parse a string as JSON.
Determines which child elements are interactive according to the WHATWG spec
Provide traps for use as Proxy handler, allowing to keep track of changes and choose to commit or rollback changes
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