Skip to main content
cngx-src documentation

CngxStepBusySpinner

Directivev0.1.0WCAG AA

projects/common/stepper/slots/step-busy-spinner.directive.ts

Import#

import { CngxStepBusySpinner } from '@cngx/common/stepper'

Description#

Slot directive for the busy-spinner template on <cngx-stepper>. Discovered via contentChild; cascades through CNGX_STEPPER_CONFIG.templates.busySpinner before falling back to the built-in pulse-animation span.

<cngx-stepper>
  <ng-template cngxStepBusySpinner>
    <my-spinner size="sm" />
  </ng-template>
</cngx-stepper>

https://cngxjs.github.io/cngx/examples/#/ui/stepper/stepper-slot-overrides/custom-busy-spinner-via-code-cngxstepbusyspinner-code

Metadata#

Index#

Properties

Instance Properties#

templateRef#unknown
Readonly
inject<TemplateRef<CngxStepBusySpinnerContext>>(
  TemplateRef,
)