@maggioli-design-system/mds-pref
v3.7.2
Published
mds-pref 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.
Keywords
Readme
mds-pref
Properties
| Property | Attribute | Description | Type | Default |
| ------------ | ------------ | -------------------------------------------------------------------------------------------------- | --------------------------- | ----------- |
| controller | controller | Sets if the component works as hidden element controller instead as UI element, visible on the DOM | boolean \| undefined | undefined |
| size | size | Sets the size of the component items nested inside it | "md" \| "sm" \| undefined | undefined |
Methods
updateLang() => Promise<void>
Returns
Type: Promise<void>
Slots
| Slot | Description |
| ----------- | -------------------------------------------------------------------------------------------------------------------------- |
| "default" | Add mds-pref-animation, mds-pref-consumption, mds-pref-contrast, mds-pref-language, or mds-pref-theme element/s. |
Dependencies
Depends on
Graph
graph TD;
mds-pref --> mds-text
style mds-pref fill:#f9f,stroke:#333,stroke-width:4pxBuilt with love @ Gruppo Maggioli from R&D Department
