@maggioli-design-system/mds-pref-consumption
v2.7.5
Published
mds-pref-consumption is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.
Downloads
180
Keywords
Readme
mds-pref-consumption
Properties
| Property | Attribute | Description | Type | Default |
| -------- | --------- | ----------------------------------------------------- | ------------------------------------------ | ----------- |
| mode | mode | Specifies the preference mode | "high" \| "low" \| "medium" \| undefined | undefined |
| size | size | Sets the size of the component items nested inside it | "md" \| "sm" \| undefined | undefined |
Events
| Event | Description | Type |
| --------------- | ------------------------------------- | --------------------------------------- |
| mdsPrefChange | Emits when the component is triggered | CustomEvent<MdsPrefChangeEventDetail> |
Methods
updateLang() => Promise<void>
Returns
Type: Promise<void>
Dependencies
Depends on
Graph
graph TD;
mds-pref-consumption --> mds-text
mds-pref-consumption --> mds-tab
mds-pref-consumption --> mds-tab-item
mds-tab-item --> mds-button
mds-button --> mds-spinner
mds-button --> mds-icon
mds-button --> mds-text
style mds-pref-consumption fill:#f9f,stroke:#333,stroke-width:4pxBuilt with love @ Gruppo Maggioli from R&D Department
