@vrembem/drawer
v4.0.0
Published
A responsive container custom element that switches between a static layout and a modal dialog based on a provided breakpoint.
Readme
Drawer
A responsive container custom element that switches between a static layout and a modal dialog based on a provided breakpoint.
Installation
npm install @vrembem/drawerStyles
@use "@vrembem/drawer";JavaScript
// Register the <vb-drawer> tag as a side-effect
import "@vrembem/drawer/define";
// Import and define the element class directly
import { Drawer } from "@vrembem/drawer";
customElements.define("vb-drawer", Drawer);