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.