Streaming live at 10am (PST)

How to initiate nav menu programmatically?


#1

Hello Webflow,

I am developing the angular project where HTML/CSS are done with webflow. I have split the HTML into angular components. The issue which I am facing is Animations(like popup, dropdown etc). For that I have initiate the animation programmatically by Webflow.require('ix').init([<object>]).

Likewise, how do I initiate nav menu programmatically?

Please let me know if you need anything.

– Thanks.


#2

.trigger('tap') on the menu button.


#3

Can you please let me know the selector? I have tried $('.w-nav-button').trigger('tap'); but not working.

Actually, my issue is not to trigger the tap button. Menu is not populated on click or tap