This is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.
Property |
Attribute |
Description |
Type |
Default |
closable |
closable |
Specifies if an item can be closed by user |
boolean | undefined |
true |
multiple |
multiple |
Choose if multiple siblings can be selected simultaneously |
boolean | undefined |
false |
Event |
Description |
Type |
mdsAccordionChange |
Emits when the component attribute selected is changed |
CustomEvent<MdsAccordionEventDetail> |
Slot |
Description |
"default" |
Add mds-accordion-item element/s. |
Name |
Description |
--mds-accordion-border-color |
Sets the border-color of the component children mds-accordion-item |
--mds-accordion-color |
Sets the text-color of the component children mds-accordion-item |
--mds-accordion-description-color |
Sets the color of the always visible title description |
--mds-accordion-duration |
Sets the transition duration of the close/open animation of the component children mds-accordion-item |
--mds-accordion-padding-selected |
Sets the vertical padding of the component children mds-accordion-item when it's selected |
--mds-accordion-padding-unselected |
Sets the vertical padding of the component children mds-accordion-item when it's unselected |
Built with love @ Gruppo Maggioli from R&D Department