"On this page" navigation rail · Per-item template slot for CngxToc · Deep-links a CngxToc into the URL fra...
ui/toc
Category
No results found
Features5#
- ComponentCngxTocWCAG AA"On this page" navigation rail
- DirectiveCngxTocItemSlotPer-item template slot for CngxToc
- DirectiveCngxTocRouterSyncDeep-links a CngxToc into the URL fragment
- TokenCNGX_TOCContract token for a toc rail
- TokenCNGX_TOC_CONFIGApp-wide configuration cascade for the table-of-contents organism
References16#
- InterfaceCngxTocConfigApp-wide cascade for the table-of-contents organism's ARIA label, its scroll behaviour, the CngxScrollSpy default...
- InterfaceCngxTocContractMinimal contract a toc rail exposes to its collaborators (the opt-in CngxTocRouterSync fragment directive): the activ...
- InterfaceCngxTocItemOne entry in a table-of-contents outline
- InterfaceCngxTocItemContextTemplate context handed to the *cngxTocItem slot and to a CNGX_TOC_CONFIG.templates.item default
- InterfaceMutableItemMutable node used while building the discovered tree, before it is frozen to CngxTocItem
- FunctioninjectTocConfigConvenience accessor for the toc configuration cascade
- FunctionitemsEqualStructural compare of two discovered outlines (id + label + nesting)
- FunctionprovideTocConfigApplication-root configuration cascade for the toc organism
- FunctionprovideTocConfigAtComponent-scoped configuration cascade for the toc organism
- FunctionwithTocAriaLabelsOverride the toc's ARIA-string fallback - the accessible name of the nav landmark that wraps the link list (defau...
- FunctionwithTocScrollBehaviorSet the app-wide default scroll behaviour used when a link is activated
- FunctionwithTocSpyMove the app-wide CngxScrollSpy defaults - the rootMargin and threshold the rail forwards to its internal spy
- FunctionwithTocTemplatesRegister a global default item template
- VariableEMPTY_IDSShared empty result so the no-active-section trail is reference-stable
- VariableEMPTY_ITEMSShared empty outline so the pre-scan / no-headings state is reference-stable
- Type AliasCngxTocConfigFeatureDiscriminated-union shape returned by the toc config features - withTocAriaLabels , withTocScrollBehavior , withTocSp...