Skip to main content
cngx-src documentation

CNGX_ACTION_SELECT_CONFIG

Tokenv0.1.0WCAG AA

InjectionToken<CngxActionSelectConfig>

Description#

Resolved configuration for the action-select composites - the inline create-action workflow shared by CngxActionSelect and CngxActionMultiSelect. Holds the focus-trap behaviour, action-button position, popover placement, ARIA label, and create / close timing.

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

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

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

Type#

InjectionToken<CngxActionSelectConfig>