Search results

98 packages found

Get focusable child elements of a DOM element

published 1.0.0 6 months ago
M
Q
P

Wrap a function in a try/catch block.

published 0.2.1 3 months ago
M
Q
P

If a function does not throw, return the function return value; otherwise, return `y`.

published 0.2.1 3 months ago
M
Q
P

Tiny (~1Kb) React hooks for isolating focus within subsections of the DOM.

published 0.6.1 3 years ago
M
Q
P

Trap the user's cursor within an element for nicer game controls.

published 1.3.0 9 years ago
M
Q
P

`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

published 0.2.0 a year ago
M
Q
P

A tiny and performant library to trap the focus within your DOM elements.

published 4.0.1 a year ago
M
Q
P

A Zero-Dependency, tiny, pure typescript Focus Trap with refocussing functionality. Compatible with pure JS, React and Vue.

published 1.0.1 a year ago
M
Q
P

Trap focus within a DOM node.

published 4.0.0 3 years ago
M
Q
P

Provide traps for use as Proxy handler, allowing to keep track of changes and choose to commit or rollback changes

published 2.0.3 7 months ago
M
Q
P
M
Q
P
M
Q
P

A small Javascript library to focus trap a user on your website, to help comply with W3C accessibility guidelines.

published 2.0.0 a year ago
M
Q
P
M
Q
P
M
Q
P

It is a trap! (for a focus)

published 1.1.0 2 years ago
M
Q
P

nutrafol popup helper

published 0.1.15 5 months ago
M
Q
P

Small shim providing `new Proxy(target, handler)`

published 1.0.1 8 years ago
M
Q
P

A 'not too bad' alternative to @ungap/new proposal

published 0.1.1 9 months ago
M
Q
P

Wraps JSON#parse in a try/catch block.

published 1.0.0 9 years ago
M
Q
P