# aitomic-m-nav-mega

> A template of megamenu. 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-mega}` and

Latest version **2.0.0** (published 2024-10-14) · SEE LICENSE IN license.txt license · 0 weekly downloads

## Install

```sh
npm install aitomic-m-nav-mega
pnpm add aitomic-m-nav-mega
yarn add aitomic-m-nav-mega
bun add aitomic-m-nav-mega
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2024-10-14 |
| First published | 2019-01-21 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN license.txt |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 11.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Aitom Digital s.r.o. |
| Maintainers | aitom |

## Links

- npm: https://www.npmjs.com/package/aitomic-m-nav-mega
- npm.io page: https://npm.io/package/aitomic-m-nav-mega

## Dependencies (1)

- [aitomic-base](https://npm.io/package/aitomic-base.md) ^2.0.0

## Recent versions

- 2.0.0 (latest) — 2024-10-14
- 1.0.4 — 2019-03-25
- 1.0.3 — 2019-02-13
- 1.0.2 — 2019-02-13
- 1.0.1 — 2019-01-21
- 1.0.0 — 2019-01-21

## README

A template of megamenu. 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-mega}` and set CSS property `position: relative` to one of parent elements of megamenu selector, which define megamenu width. There are available hooks to customization CSS classes of list, item and link:

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

{include #m-nav-mega, menuClass => '...', itemClass => '...', linkClass => '...'}
```

The variable 'state' has options 'inline' and 'columns'.

---
_Source: https://npm.io/package/aitomic-m-nav-mega · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
