Skip to main content
cngx-src documentation

CngxA11yPanelAxisOption

Interface

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

Import#

import { CngxA11yPanelAxisOption } from '@cngx/ui/a11y'

Description#

One selectable option in an axis control group: the value written to the axis signal plus the visible/toggle label. V is the axis' own value union (e.g. CngxDensityValue), so a misspelled value fails to compile rather than reaching the global preference signal. Library defaults are English; consumers relabel via withA11yPanelAxes.

Index#

Properties

Instance Properties#

label#string
Readonly

Toggle-button label.

value#V
Readonly

Value written to the axis signal - a valid member of that axis' union.