JSPM

Found 107 results for trap

react-focus-marshal

Traps focus within a DOM node — subsequently mounted traps will pause others and take focus responsibility until they unmount.

  • v1.0.1
  • 16.78
  • Published

@konfirm/trap

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

  • v2.0.3
  • 15.18
  • Published

modal-svelte

Modal component for Svelte

  • v1.4.0
  • 13.43
  • Published

@ryvora/react-focus-guards

💂‍♂️ Invisible focus guards for robust focus trapping in modals, dialogs, and more.

  • v2.0.0
  • 13.38
  • Published

focus-trap-improved

A simple TypeScript npm package to lock focus within a specified container. This package helps ensure that keyboard navigation stays within a particular section of a webpage, improving accessibility and user experience.

    • v1.0.3
    • 13.36
    • Published

    iframe-tracker

    Track iframe's mouse events and bubble them up to outer document correctly.

    • v1.0.6
    • 12.64
    • Published

    @davidevmod/focus-trap

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

    • v4.0.1
    • 12.28
    • Published

    safe-process

    Helper for initializing and deinitializing an app

    • v1.0.1
    • 11.85
    • Published

    kidnap-console

    Capture and store a function's log outputs and return value, and stops its output from reaching the CLI. Makes console log testing a breeze.

    • v0.0.2
    • 11.75
    • Published

    itsnmptrap

    An snmp trap receiver router, similar in concept to the HTTP request routing in the likes of Expressjs.

      • v0.0.1
      • 11.56
      • Published

      concap

      Tiny console capturing library

        • v0.2.0
        • 11.56
        • Published

        a11y-focus-trap

        A simple module to trap the tab navigation inside a container very useful for modal and dialog.

        • v1.0.2
        • 11.54
        • Published

        pointer-trap

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

        • v0.0.0
        • 11.47
        • Published

        @sullux/fp-light-trap

        A lightweight functional library for functional composition and object composition.

        • v0.0.1
        • 11.34
        • Published

        console-blame

        It highlights and helps to find forgotten console.log calls in runtime

        • v1.1.3
        • 10.98
        • Published

        pointer-trap-relative

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

        • v1.3.0
        • 10.65
        • Published

        @ryvora/react-focus-scope

        🎯 Trap and manage focus within a section of your app. Essential for modals and dialogs!

        • v2.0.0
        • 10.63
        • Published

        @stdlib/utils-try-then

        If a function does not throw, return the function return value; otherwise, return the return value of a second function.

        • v0.2.2
        • 10.45
        • Published

        @a11y-ngx/tab-cycle

        An Angular directive to allow focus trap within a DOM element

        • v1.0.1
        • 9.97
        • Published

        @10up/react-focus-trap-hoc

        Higher order component used to trap keyboard focus within a wrapped component.

        • v1.0.1
        • 9.55
        • Published

        appstoragejs

        LocalStorage for Node.js, auto syncing for objects with JSON files using the Proxy API

        • v1.0.4
        • 9.55
        • Published

        focus-trap-lite

        Lightweight (≤2kB) focus trapping utility for implementing accessible keyboard navigation constraints in modal dialogs, sidebars, and other contained UI components.

        • v0.0.6
        • 9.32
        • Published

        stackedy

        Roll your own stack traces and control program execution through AST manipulation

        • v0.1.10
        • 8.77
        • Published

        runtrap

        Run that trap!

        • v1.0.3
        • 8.75
        • Published

        react-trap

        Detect dom events inside or outside an element

        • v1.1.0
        • 7.68
        • Published

        @stdlib/utils-async-try-catch

        If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.

        • v0.2.2
        • 6.95
        • Published

        purified

        Purity and safety for methods invokes.

        • v0.0.2
        • 6.95
        • Published

        traps

        Trap me if you can!

        • v0.1.0
        • 6.53
        • Published

        @stdlib/utils-async-try-then

        If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.

        • v0.2.2
        • 6.52
        • Published

        trapcode

        Function Library in JS

        • v1.1.2
        • 5.75
        • Published

        favicon-trap

        A util allows you get favicons from a url

        • v1.0.3
        • 5.44
        • Published

        proxy-class-new

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

        • v0.1.1
        • 5.44
        • Published

        @stdlib/utils-try-catch

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

        • v0.2.2
        • 4.44
        • Published

        @pinkhominid/pop-menu

        Colocated overlay drop menu that pops out of scroll ancestors and traps focus

        • v0.2.2
        • 4.44
        • Published

        focus-trap-react-hook

        React hook for trapping focus inside specified HTML element.

        • v1.0.1
        • 4.35
        • Published

        md-focus-trap

        Trap focus within a DOM node.

        • v1.0.3
        • 4.30
        • Published

        trap-chai

        Chai integration for trap testing.

        • v0.1.0
        • 4.12
        • Published

        ghost-trap

        Static site generator for the Ghost blogging platform.

        • v0.1.0
        • 2.60
        • Published

        trapfocus-refocus-typescript

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

        • v1.0.1
        • 2.60
        • Published

        focus-navigator

        A lightweight utility to manage and enhance keyboard navigation for front-end applications. Focus Navigator simplifies accessibility by allowing developers to trap focus within a container, cycle through focusable elements, and improve keyboard navigation

        • v1.0.1
        • 2.57
        • Published

        tab_trap

        Overwrite the browsers default behaviour when pressing tab. While navigating through a form using the tab key the focus will not be set outside of the form ( e.g. the browsers url bar ).

        • v1.0.1
        • 2.56
        • Published

        thin-trap

        Thin ES6 Proxy Wrapper for Better Transparency

        • v0.0.2
        • 2.56
        • Published

        scrolltrap

        Prevent page from scrolling after having reached the end of a scrollable element

        • v1.0.4
        • 2.56
        • Published

        ghostrap

        Observe the object property getter, setter or method calls and add custom behavior.

        • v1.0.2
        • 2.54
        • Published

        @realtebo/local-smtp-blackhole

        > IMPORTANT: This package is meant to be used ONLY with composer package `laravel-local-smtp-blackhole`.

        • v0.0.9
        • 0.00
        • Published

        mice.trap

        A 'mouse operator' implementation

        • v1.0.0
        • 0.00
        • Published

        pid-trap

        execute command after process termination

        • v2019.5.31
        • 0.00
        • Published