A stepper component that provides a wizard-like workflow by dividing content into logical steps.

Element
igc-stepper
Slots
default — Renders the steps of the stepper inside the default slot.

Remarks

[object Object]

Example

<igc-stepper>
  <igc-step>
    <span slot="title">Step 1</span>
    <p>Step 1 content</p>
  </igc-step>
  <igc-step>
    <span slot="title">Step 2</span>
    <p>Step 2 content</p>
  </igc-step>
</igc-stepper>

The animation duration in either vertical or horizontal mode in milliseconds.

animationDuration: number = 320

Defined in src/components/stepper/stepper.ts:195

Whether the content is displayed above the steps.

contentTop: boolean = false

Defined in src/components/stepper/stepper.ts:168

The animation type when in horizontal mode.

horizontalAnimation: HorizontalTransitionAnimation = 'slide'

Defined in src/components/stepper/stepper.ts:186

Whether the stepper is linear.

linear: boolean = false

Defined in src/components/stepper/stepper.ts:159

Remarks

If the stepper is in linear mode and if the active step is valid only then the user is able to move forward.

The orientation of the stepper.

orientation: StepperOrientation = 'horizontal'

Defined in src/components/stepper/stepper.ts:138

The visual type of the steps.

stepType: StepperStepType = 'full'

Defined in src/components/stepper/stepper.ts:147

The position of the steps title.

titlePosition: StepperTitlePosition = 'auto'

Defined in src/components/stepper/stepper.ts:208

Remarks

When the stepper is horizontally orientated the title is positioned below the indicator. When the stepper is vertically orientated the title is positioned on the right side of the indicator.

The animation type when in vertical mode.

verticalAnimation: StepperVerticalAnimation = 'grow'

Defined in src/components/stepper/stepper.ts:177

The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference

tagName: "igc-stepper" = 'igc-stepper'

Defined in src/components/stepper/stepper.ts:101

Returns all of the stepper's steps.

get steps(): readonly IgcStepComponent[]

Defined in src/components/stepper/stepper.ts:127

Returns readonly IgcStepComponent[]

Activates the step at a given index.

navigateTo(index: number): void

Defined in src/components/stepper/stepper.ts:383

Parameters

  • index: number

Returns void

Activates the next enabled step.

next(): void

Defined in src/components/stepper/stepper.ts:392

Returns void

Activates the previous enabled step.

prev(): void

Defined in src/components/stepper/stepper.ts:397

Returns void

Resets the stepper to its initial state, i.e. activates the first step.

reset(): void

Defined in src/components/stepper/stepper.ts:407

Returns void