Closed jcamp closed 7 years ago
There's an undocumented API that can be used for this: RevealMenu.toggle()
will open/close the menu, and RevealMenu.isOpen()
will return true
is the menu is currently open.
For example...
<a href="#" onclick="RevealMenu.toggle(); return false;">menu link</a>
Ah! brilliant - exactly what I needed - thanks. Cheers Jonathan
I know there is a way ... Just want to trigger the menu from a link in text as well?
Cheers Jonathan