Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to manuly trigger menu #94

Open
ayoubkhan558-zz opened this issue May 31, 2020 · 3 comments
Open

How to manuly trigger menu #94

ayoubkhan558-zz opened this issue May 31, 2020 · 3 comments

Comments

@ayoubkhan558-zz
Copy link

How to manuly trigger menu

@ton77v
Copy link

ton77v commented Jun 16, 2020

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

Example:

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

@lwiml
Copy link

lwiml commented Jun 18, 2020

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.

@ton77v
Copy link

ton77v commented Jun 19, 2020

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants