Skip to main content
cngx-src documentation

CNGX_REORDERABLE_SELECT_CONFIG

Tokenv0.1.0WCAG AA

InjectionToken<CngxReorderableSelectConfig>

Description#

Resolved configuration for CngxReorderableMultiSelect - the keyboard reorder modifier, drag-handle template, selection-strip freeze-on-commit, and ARIA label.

Provide it through one of two entry points, never the token directly:

  • provideReorderableSelectConfig(...) returns EnvironmentProviders - app bootstrap or a route.
  • provideReorderableSelectConfigAt(...) returns Provider[] - a component's providers / viewProviders.

Compose from the with* features (withReorderKeyboardModifier, withReorderAriaLabel, withDefaultDragHandle, withReorderStripFreeze). Resolution is nearest-wins: a nested provider replaces an ancestor config for its subtree, it does not deep-merge.

Type#

InjectionToken<CngxReorderableSelectConfig>