# Steps
TIP
Child elements of <amber-step-group>
can only be <amber-step>
# Example
# Basic usage
Copy
# custom icon
Copy
# wrong step
Copy
# vertical step bar
Copy
# Clickable Step Bar
Copy
# API
# StepGroup
parameter | illustrate | type | Defaults | Version |
---|---|---|---|---|
current | Specifies the current step, counting from 0. In child Step elements, the status can be overridden via the status attribute | string | 0 | |
status | Specifies the status of the current step, optional wait process finish error | string | process | |
direction | Specifies the step bar direction. Currently supports horizontal (horizontal) and vertical (vertical) two orientations | string | horizontal |
# StepGroup
parameter | illustrate | Defaults | Defaults |
---|---|---|---|
change | Triggered when a toggle step is clicked | (current) => void |
# Step
parameter | illustrate | type | Defaults | Version |
---|---|---|---|---|
title | title | string | - | |
sub-title | subheading | string | - | |
description | Detailed description of the step, optional | string | - | |
disabled | disable click | boolean | false | |
status | Specifies the step bar direction. Currently supports horizontal (horizontal) and vertical (vertical) two orientations | string | horizontal |
← InifinteScroll Input →