Skip to main content
cngx-src documentation

reflectAsyncDisplayStatus

Functioncommon/interactive

projects/common/interactive/async-status/async-status.directive.ts

Description#

Single source for collapsing a CngxAsyncState into its display bucket. Owned by the CngxAsyncStatus reflector so every consumer (the reflector directive, CngxActionButton's [externalState] branch) maps an externally-owned state the same way - one reflection code path.

Signature#

reflectAsyncDisplayStatus(state)

Parameters#

@paramstate

Returns#

CngxAsyncDisplayStatus