@maggioli-design-system/mds-pref-language-nav
v1.0.5
Published
mds-pref-language-nav 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 JavaScirpt framework you are using.
Downloads
49
Readme
mds-pref-language-nav
Properties
| Property | Attribute | Description | Type | Default |
| -------- | --------- | ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ----------- |
| active
| active
| Specifies if the element is active or not | boolean
| false
|
| set
| set
| Specifies the language code based on HTML lang
attribute | ``${Lowercase}${Lowercase}${Lowercase}\|
${Lowercase}${Lowercase} \| undefined
| undefined
|
Events
| Event | Description | Type |
| -------------------------- | --------------------------------------------------------------- | ----------------------------------------- |
| mdsPrefLanguageNavSelect
| Emits when the component trigger the language selector dropdown | CustomEvent<MdsPrefLanguageEventDetail>
|
Dependencies
Used by
Depends on
Graph
graph TD;
mds-pref-language-nav --> mds-text
mds-pref-language-nav --> mds-tab
mds-pref-language-nav --> mds-tab-item
mds-tab-item --> mds-button
mds-button --> mds-spinner
mds-button --> mds-icon
mds-button --> mds-text
mds-pref-language --> mds-pref-language-nav
style mds-pref-language-nav fill:#f9f,stroke:#333,stroke-width:4px
Built with love @ Gruppo Maggioli from R&D Department