← Stepper API

Interface · v2.7.1

NgbStepperSelectionChangeEvent

Selection event containing old/new indexes and the selected step.

Import

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

Declaration

Properties

previousIndex

Previous index during navigation. Reset reports 0.

previousIndex: number

currentIndex

New selected index.

currentIndex: number

step

Step at the new index.

step: NgbStepperStep | undefined

Referenced types

Source: src/stepper/src/stepper/stepper.component.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.