aitomic-m-nav-dropdown
v2.0.0
Published
A template of submenu. Import {latte} block from the template stored in folder 'control' to 'menuControl.latte' under condition of variable `$menuDepth` using macro `{import '../path-to-latte-template'}`, declare this block as `{include #m-nav-dropdown}`
Downloads
197
Readme
A template of submenu. Import {latte} block from the template stored in folder 'control' to 'menuControl.latte' under condition of variable $menuDepth
using macro {import '../path-to-latte-template'}
, declare this block as {include #m-nav-dropdown}
and add CSS class representing property position: relative
to parent element of submenu selector. There are available hooks to customization CSS classes of list, item and link:
{import '../path-to-latte-template'}
{include #m-nav-dropdown, menuClass => '...', itemClass => '...', linkClass => '...'}