Skip to main content
cngx-src documentation

withA11yPanelAxes

Functionui/a11yv0.1.0

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

Description#

Replace the rendered axis list - reorder groups, drop an axis, or restrict the options a group offers. Supplying a subset renders only those groups.

provideA11yPanelConfig(
  withA11yPanelAxes([
    { axis: 'textScale', reset: 'md', options: [
      { value: 'md', label: 'Default' },
      { value: 'lg', label: 'Large' },
    ] },
  ]),
);

Signature#

withA11yPanelAxes(payload)

Parameters#

@parampayload

Returns#

CngxA11yPanelConfigFeature