It is fully customizable and dependency free.You can use it as sidebar menus or option drawers.
- Add the pushbar.css file to the head of your html.
- Add the pushbar.js file to the head of your html or right before the closing body tag.
- Add this code after the pushbar.js script tag to initialize the plugin.
- blur : set it to true for blur effect on the main content (Default:false)
- overlay : set it to true for dark overlay effect on the main content (Default:true)
Open and close pushbar with api
'pushbar_opening': when a pushbar is opening, that pushbar element will emit this event.
'pushbar_closing': when a pushbar is closing, that pushbar element will emit this event.