Skip to main content
cngx-src documentation

CngxNavConfig

Interface

projects/common/interactive/nav/nav-config.ts

Import#

import { CngxNavConfig } from '@cngx/common/interactive'

Description#

Configuration options for the cngx nav system.

Index#

Instance Properties#

animationDuration#number
Optional

Default animation duration in ms for disclosure transitions. Applied via --cngx-nav-transition CSS custom property.

indent#number
Optional

Indentation in px per depth level. Applied via --cngx-nav-indent CSS custom property.

singleAccordion#boolean
Optional

When true, only one CngxNavGroup can be open at a time within the same provider scope. Opening one group closes the others.