XF 2.2 what does the data-xf-click="menu" do??

Earl

Well-known member
I know how data-xf-click="overlay" works.
what does the data-xf-click="menu" do??
 
You can also provide the data-menu attribute with a css selector and it will use an existing HTML structure on the page to open the menu, rather than having to send an ajax request.
 
found how it's working by going through structure.js
it can load templates as menus using ajax
I feel my issue may be related somehow...
Filters are loaded as menus, using data-xf-click="menu"
Do you know of a way to load data-xf-click="menu" as a direct part of the template?
Thanks!
 
Top Bottom