Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aitomic-m-nav-header

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

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

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-40%
Maintainers
0
Weekly downloads
 
Created
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

Package last updated on 14 Oct 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc