Salta ai contenuti
Magma Design System
Stepper bar item<mds-stepper-bar-item>Generato da @maggioli-design-system/magma@2.3.0dist/documentation.json. Incapsulamento: shadow.
Questa pagina è generata dai pacchetti Magma, documentati solo in inglese.
I componenti Magma sono web component: elementi personalizzati che scrivi come i tag HTML, con qualsiasi framework o senza. Le proprietà li configurano, gli eventi dicono cosa è successo, i metodi sono funzioni da chiamare sull'elemento e gli slot accolgono il contenuto che metti al suo interno.
Proprietà
Imposta una proprietà come attributo HTML nel markup, oppure come proprietà da JavaScript. La colonna Attributo dà il nome dell'attributo, un trattino quando coincide con la proprietà; le proprietà senza attributo, come array e funzioni, si impostano solo da JavaScript. Per spegnere un attributo booleano, rimuovilo: non scrivere mai 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 (obbligatoria) - 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 (obbligatoria) - 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
Eventi
mdsStepperBarItemDoneMdsStepperBarItemEventDetailEmits when the accordion is selected