Skip to main content
cngx-src documentation

provideNavConfig

Functioncommon/interactive

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

Description#

Provides nav system configuration. Accepts withXxx() feature functions for composable setup.

Automatically includes CngxNavGroupRegistry when singleAccordion is enabled (either directly or via withSingleAccordion()).

providers: [provideNavConfig(withSingleAccordion(), withNavIndent(16))]

Signature#

provideNavConfig(...features: undefined)

Parameters#

@paramfeatures

Returns#

Provider[]