Skip to main content
cngx-src documentation

CngxStepContent

Directivev0.1.0WCAG AA

projects/common/stepper/step-content.directive.ts

Import#

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

Description#

Marker directive carrying a CngxStep's content template. Discovered via contentChild(CngxStepContent). Typed with CngxStepContentContext so let-busy="busy" etc. gives typed access to live step state.

<ng-template cngxStepContent let-busy="busy">
  <input [disabled]="busy">
</ng-template>

https://cngxjs.github.io/cngx/examples/#/ui/stepper/stepper-step-content/typed-lazy-panels

Metadata#

Index#

Properties

Instance Properties#

templateRef#unknown
Readonly
inject<TemplateRef<CngxStepContentContext>>(TemplateRef)