lbx
v0.0.1
Published
Minimalist util to trap focus inside a container.
Downloads
3
Readme
lbx
Minimalist util to trap focus inside a container.
Install
npm i lbx --save
Usage
import { lock } from "lbx";
const lockbox = lock(document.getElementById("modal"));
lockbox(); // destroy
License
MIT License © Eric Bailey