@maggioli-design-system/mds-pref-language-item
v2.6.6
Published
mds-pref-language-item 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
222
Keywords
Readme
mds-pref-language-item
Properties
| Property | Attribute | Description | Type | Default |
| ---------- | ---------- | ---------------------------------------------------------- | ---------------------- | ----------- |
| code | code | Specifies the language code based on HTML lang attribute | string | undefined |
| selected | selected | Specifies if the element is selected | boolean \| undefined | false |
Events
| Event | Description | Type |
| --------------------------- | --------------------------------------------- | ----------------------------------------- |
| mdsPrefLanguageItemSelect | Emits when the component trigger the language | CustomEvent<MdsPrefLanguageEventDetail> |
Methods
updateLang() => Promise<void>
Returns
Type: Promise<void>
Dependencies
Depends on
Graph
graph TD;
mds-pref-language-item --> mds-button
mds-button --> mds-spinner
mds-button --> mds-icon
mds-button --> mds-text
style mds-pref-language-item fill:#f9f,stroke:#333,stroke-width:4pxBuilt with love @ Gruppo Maggioli from R&D Department
