Socket
Socket
Sign inDemoInstall

aitomic-m-nav-header

Package Overview
Dependencies
14
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

aitomic-m-nav-header

A template of macro {control} to display site navigation. Import {latte} block from the template stored in folder 'control' to 'menuControl.latte' before condition of variable `$menuDepth` using macro `{import '../path-to-latte-template'}` and declare thi


Version published
Maintainers
1
Weekly downloads
11
decreased by-56%

Weekly downloads

Readme

Source

A template of macro {control} to display site navigation. Import {latte} block from the template stored in folder 'control' to 'menuControl.latte' before condition of variable $menuDepth using macro {import '../path-to-latte-template'} and declare this block as {include #m-nav-header}. There are available hooks to customization CSS classes of list, item and link.

The variable 'submenu' has options 'm-nav-dropdown' and 'm-nav-mega' representing style of submenu.

{import '../path-to-latte-template'}

{include #m-nav-header,  submenu => 'm-nav-dropdown', menuClass => '...', itemClass => '...', linkClass => '...'}

Do not forget set CSS property position: relative to one of parent elements, which define megamenu width.

FAQs

Last updated on 08 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc