Stepper bar item<mds-stepper-bar-item>Generated from @maggioli-design-system/magma@2.3.0dist/documentation.json. Encapsulation: shadow.
Magma components are web components: custom elements you write like HTML tags, with any framework or without one. Props configure them, events tell you what happened, methods are functions you call on the element and slots take the content you put inside it.
Props
Set a prop as an HTML attribute in the markup, or as a property from JavaScript. The Attribute column gives the name of the attribute, a dash when it is the same as the property; props without one, such as arrays and functions, are set from JavaScript only. To turn a boolean attribute off, remove it: never write disabled="false".badge
-
booleanSpecifies if the badge status is displayed
current
-
booleanfalseSpecifies if the component is the current or not
done
-
booleanfalseSpecifies if the component is checked or not
icon (required)
-
stringSpecifies the icon displayed of the component when is not checked or the current item
iconCheckedicon-checkedstring | undefinedthis.iconSpecifies the icon displayed of the component when is checked
label (required)
-
stringSpecifies a short description of the component
step
-
booleanSpecifies if the step is displayed
typography
-
action | caption | detail | h1 | h2 | h3 | h4 | h5 | h6 | hack | label | option | paragraph | snippet | tip | undefinedh6Specifies the typography of the element
value
-
string | undefinedSpecifies the value the component will return mdsStepperBarItemSelect event
Events
mdsStepperBarItemDoneMdsStepperBarItemEventDetailEmits when the accordion is selected