Class IgxStepperComponent

IgxStepper provides a wizard-like workflow by dividing content into logical steps.

Igx Module

IgxStepperModule

Igx Keywords

stepper

Igx Group

Layouts

Remarks

The Ignite UI for Angular Stepper component allows the user to navigate between multiple steps. It supports horizontal and vertical orientation as well as keyboard navigation and provides API methods to control the active step. The component offers keyboard navigation and API to control the active step.

Example

<igx-stepper>
<igx-step [active]="true">
<igx-icon igxStepIndicator>home</igx-icon>
<p igxStepTitle>Home</p>
<div igxStepContent>
...
</div>
</igx-step>
<igx-step [optional]="true">
<div igxStepContent>
...
</div>
</igx-step>
<igx-step>
<div igxStepContent>
...
</div>
</igx-step>
</igx-stepper>

Hierarchy

Hierarchy

  • IgxCarouselComponentBase
    • IgxStepperComponent

Implements

  • IgxStepper
  • OnChanges
  • OnInit
  • AfterContentInit
  • OnDestroy

Constructors

Properties

activeStepChanged: EventEmitter<IStepChangedEventArgs> = ...

Emitted when the active step is changed.

Example

<igx-stepper (activeStepChanged)="handleActiveStepChanged($event)"></igx-stepper>
activeStepChanging: EventEmitter<IStepChangingEventArgs> = ...

Emitted when the stepper's active step is changing.

<igx-stepper (activeStepChanging)="handleActiveStepChanging($event)">
</igx-stepper>
public handleActiveStepChanging(event: IStepChangingEventArgs) {
if (event.newIndex < event.oldIndex) {
event.cancel = true;
}
}
contentTop: boolean = false

Get/Set whether the content is displayed above the steps.

Remarks

Default value is false and the content is below the steps.

this.stepper.contentTop = true;
stepType: IgxStepType = IgxStepType.Full

Get/Set the type of the steps.

this.stepper.stepType = IgxStepType.Indicator;
titlePosition: IgxStepperTitlePosition = null

Get/Set the position of the steps title.

Remarks

The default value when the stepper is horizontally orientated is bottom. In vertical layout the default title position is end.

this.stepper.titlePosition = IgxStepperTitlePosition.Top;

Accessors

Methods