hjl19911127 / vue-drawer-layout

A simple DrawerLayout component for Vue.js.

Home Page:http://share.codehuang.com/vue-drawer-layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add drawer 'isOpen' class

arcdelsol opened this issue · comments

There needs to be classes or methods after opening and closing the drawer

Does 'slide-end' event meet the needs ?

'slide-end' doesn't determine whether the drawer is open or closed right?
Would be great if you can target the drawer state with css, 'open' or 'closed'

slide-end event emit visible state of the drawer

Adding the class may increase the risk of style conflict, so that's my opinion.Thanks for your understanding.