Search results

104 packages found

Trap focus within a DOM node.

published version 7.6.4, 4 months ago614 dependents licensed under $MIT
8,802,429

DOM trap for a focus

published version 1.3.6, 4 months ago39 dependents licensed under $MIT
9,500,759

It is a trap! (for a focus)

published version 2.13.6, 3 months ago665 dependents licensed under $MIT
8,328,382

It is a trap! (for a focus)

published version 1.1.0, 3 years ago12 dependents licensed under $MIT
226,057

Vue component to trap the focus within a DOM element

published version 4.0.3, 2 years ago49 dependents licensed under $MIT
166,811

A lightweight web component that traps focus within a DOM node

published version 1.0.5, 6 years ago34 dependents licensed under $MIT
39,468

It is a trap! (for a focus)

published version 2.0.7, 4 months ago17 dependents licensed under $ISC
32,901

Wrap `require` in a try/catch block.

published version 0.2.2, 10 months ago328 dependents licensed under $Apache-2.0
26,324

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

published version 0.6.1, 4 years ago1 dependents licensed under $MIT
23,086

SolidJS utility that traps focus inside a given DOM element.

published version 0.1.9, 2 months ago2 dependents licensed under $MIT
11,249

Add focus traps to the elements

published version 1.0.3, 7 years ago0 dependents licensed under $MIT
13,091

Vue3 and Vue2 directive for keyboard navigation - roving movement and trapping inside container

published version 1.2.0, 8 months ago2 dependents licensed under $MIT
7,816

Trap focus inside specified HTML element. Vanilla JS with size <0.5kb. No dependencies. Easy to use with React, Angular or Raw Javascript

published version 1.1.0, 5 years ago1 dependents licensed under $MIT
6,345

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

published version 1.0.1, 9 years ago36 dependents licensed under $LGPL-3.0
4,240

Wraps JSON#parse in a try/catch block.

published version 1.0.0, 10 years ago20 dependents licensed under $MIT
2,137

Parse a string as JSON.

published version 0.2.2, 10 months ago2 dependents licensed under $Apache-2.0
1,511

Attempts to parse an input string according to the .properties specification.

published version 1.0.0, 10 years ago3 dependents licensed under $MIT
2,179

A react hook to trap the focus within a reference

published version 1.1.7, 3 years ago0 dependents licensed under $MIT
2,592

A focus trap library that pierces that shadow dom. So you can use it with native web components. Deep Focus Trap is a lightweight library written in vanilla js with only one dependency (that is tree-shakable if not in use).

published version 0.0.3, 3 years ago0 dependents licensed under $MIT
2,082

Trap focus within a DOM node.

published version 1.0.1, a year ago3 dependents licensed under $MIT
1,442