Skip to main content
cngx-src documentation

CngxPending

Directivev0.1.0WCAG AA

projects/common/interactive/async-click/async-status-templates.ts

Import#

import { CngxPending } from '@cngx/common/interactive'

Description#

Template shown while an async action is executing.

Used by CngxActionButton and CngxPopoverAction to project custom pending-state content.

<ng-template cngxPending>Saving...</ng-template>

https://cngxjs.github.io/cngx/examples/#/ui/action-button/async-button/random-outcome https://cngxjs.github.io/cngx/examples/#/ui/action-button/async-button/string-labels https://cngxjs.github.io/cngx/examples/#/ui/action-button/async-button/template-slots

Metadata#

Dependencies#

TemplateRefinject()templateRef