STK.navigation.mobileMenu

Adds branch buttons to a menu created with stk:navigation.create-menu, for expanding/contracting submenu.

  1. jQuery objecttree

Examples

Input

STK.navigation.mobileMenu($('.main-menu'));

Parameters

tree
The menu tree (a menu created with stk:navigation.create-menu)
Type
jQuery object