looking at benefit from the HTML Gesture API, I'm wondering if there is any parameter to pass to the toggleNavUi() function in order to display not only the Top Nav menu, but the side menu.
What I'm trying to achieve, is having a hamburger icon straight into my article, than onClick event can display the side menu.
Until now, I reproduce this behavior by having some extra function that display a side menu right inside the article. But I don't like this approach, as it add additional js layer to maintain inside the article.
Hi Benoit, there isn't any such parameter in the gesture API, your current approach with your own custom menu is the only workaround. Have you considered making the JS layer global so that it's maintained as a single element shared across multiple articles? That requires using the API to upload shared resources, but it may reduce some of your overhead.