Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 411 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 411 Bytes

Drawer

Open and close things through simple state management.

npm install @murmurcreative/[email protected]
import {Cabinet} from '@murmurcreative/drawer';
new Cabinet();
<div data-module="drawer" data-knob="#knob">
    <!--  Drawer Contents  -->
</div>

<button id="knob">Toggle</button>

For full documentation, see the expanded readme.