2.0.0 • Published 4 years ago
@murmurcreative/drawer v2.0.0
Drawer
Open and close things through simple state management.
npm install @murmurcreative/drawer@2.1.0-alpha
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.