vue-burger-menu icon indicating copy to clipboard operation
vue-burger-menu copied to clipboard

How to manuly trigger menu

Open ayoubkhan558-zz opened this issue 4 years ago • 3 comments

How to manuly trigger menu

ayoubkhan558-zz avatar May 31 '20 14:05 ayoubkhan558-zz

You should use https://github.com/mbj36/vue-burger-menu#open-state

Example: <Slide :isOpen="isOpen">

In your code you just set this.isOpen = true / false And update this.isOpen state using https://github.com/mbj36/vue-burger-menu#menu-events to make sure it matches the Slide state

ton77v avatar Jun 16 '20 06:06 ton77v

I had the same issue, but i don't understand your example @ton77v . What needs to happen on these menu events? and when do i set isOpen to true/false.

lwiml avatar Jun 18 '20 08:06 lwiml

I had the same issue, but i don't understand your example @ton77v . What needs to happen on these menu events? and when do i set isOpen to true/false.

It will be easier if you share some code, and I will try to explain what to add

ton77v avatar Jun 19 '20 04:06 ton77v