Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

How to open menu, not toggle #69

Open
mrcharis opened this issue Apr 12, 2016 · 1 comment
Open

How to open menu, not toggle #69

mrcharis opened this issue Apr 12, 2016 · 1 comment

Comments

@mrcharis
Copy link

Hi thee

Great plugin

I am trying to workout how to trigger the menu to open, not toggle.

I do not mean open on page load.

I am adding things dynamically to the menu, and i need to be able to show the menu while items are added and then use the usual menu-link to close the menu when finished adding items to it.

At the moment every time I add items to the menu it toggles, and is driving me crazy.

I have gone through all the issues here and tried to figure out how to do it and I can't get it to work.

Is there a way make an on click function that only opens the menu not toggles it?

Any assistance would be great.

It would be a good feature to add.

Regards

@joanvila
Copy link
Contributor

Hi @mrcharis

At the moment there isn't any option that opens the menu instead of toggle it's state but it wouldn't be hard to code.

However, I think I don't understand your problem. You mean that for some reason adding a menu item to the menu triggers the toggle function?

Regards,
Joan

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

No branches or pull requests

2 participants