proxy-class-new
A 'not too bad' alternative to @ungap/new proposal
A 'not too bad' alternative to @ungap/new proposal
A react hook to trap the focus within a reference
`ViewportTrap` is a headless React component that helps ensure that its children are always visible within the viewport. This is particularly useful for UI elements like tooltips or dropdowns that might be hidden or cut-off due to their position near the
A react component to trap focus for accessibility
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
If a function does not throw, return the function return value; otherwise, return the return value of a second function.
If a function does not throw, return the function return value; otherwise, return `y`.
Wrap a function in a try/catch block.
Wrap `require` in a try/catch block.
Parse a string as JSON.
Colocated overlay drop menu that pops out of scroll ancestors and traps focus
Vue3 and Vue2 directive for keyboard navigation - roving movement and trapping inside container
A simple, pure vanilla JS, focus trap.
Trap focus within a DOM node.
Get focusable child elements of a DOM element
Trap keyboard focus inside an element
An Angular directive to allow focus trap within a DOM element
A tiny and performant library to trap the focus within your DOM elements.
It is a trap! (for a focus)