UNPKG

deep-focus-trap

Version:

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).

6 lines (4 loc) 113 B
import { deepFocusTrap } from './index' export default function (config) { return new deepFocusTrap(config) }