Skip to main content
cngx-src documentation

CngxA11yPanelAxisSpec

Type Aliasui/a11y

projects/ui/a11y/a11y-panel.config.ts

Description#

A rendered axis control group: which axis, its ordered options, and the value Reset restores (the axis' own library default). This is a discriminated union on axis, so options and reset are typed to that axis' value union - a { axis: 'density', reset: 'x' } is a compile error, not a garbage value written to <html data-density>. Reorder or drop axes by supplying a subset via withA11yPanelAxes.

Definition#

literal type | literal type | literal type | literal type