← Stepper API

Directive · v2.7.1

NgbStepLabelDirective

Captures a projected template used for all step labels.

Import

import { NgbStepLabelDirective } from '@angular-bootstrap/ngbootstrap';

Selector:[ngbStepLabel]

Declaration

Inputs

ngbStepLabel

Binding alias: ngbStepLabel. The installed Stepper does not use this value to select an individual step; the captured template is shared.

for?: string | number

Properties

template

Projected label TemplateRef passed to the Stepper.

template: TemplateRef<unknown>
Source: src/stepper/src/stepper/step-label.directive.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.