modal-focus-trap
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

modal-focus-trap

Downloads Version License

This is a very simple and lightweight helper function that makes it easier to set up a focus trap in a modal window. This implementation is not library specific and can therefore be used with VanillaJS, React or any other library/framework.

/modal-focus-trap/

    Package Sidebar

    Install

    npm i modal-focus-trap

    Weekly Downloads

    7

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    20.7 kB

    Total Files

    13

    Last publish

    Collaborators

    • fknussel