Skip to main content
cngx-src documentation

CngxAccordionGroupContext

Interface

projects/ui/accordion/accordion-group.token.ts

Referenced by#

Import#

import { CngxAccordionGroupContext } from '@cngx/ui/accordion'

Description#

UI-local context a CngxAccordionGroup exposes so each CngxAccordionItem reads the shared heading level without injecting the concrete group class (cyclic type, blocks Atomic Decompose). Kept separate from the headless CNGX_ACCORDION brain contract, which stays skin-agnostic - heading semantics are a skin concern.

Index#

Properties

Instance Properties#

headingLevel#Signal
Readonly

Heading level (2-6) every item's role="heading" wrapper reflects via aria-level.