2.6.3 • Published 5 months ago
@maggioli-design-system/mds-pref-language v2.6.3
mds-pref-language
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
set | set | Specifies the language code based on HTML lang attribute A string representing the language version as defined in {@link https://datatracker.ietf.org/doc/html/rfc5646 RFC 5646: Tags for Identifying Languages (also known as BCP 47)}. Examples of valid language codes include "en", "en-US", "fr", "fr-FR", "es-ES", etc. Supported languages are Italiano, English, Español, ελληνικά | string | 'auto' |
Events
| Event | Description | Type |
|---|---|---|
mdsPrefChange | Emits when the component is triggered | CustomEvent<MdsPrefChangeEventDetail> |
mdsPrefLanguageChange | Emits when the component changes the language selected from the click event of the dropdown list item | CustomEvent<MdsPrefLanguageEventDetail> |
Methods
updateLang() => Promise<void>
Returns
Type: Promise<void>
Slots
| Slot | Description |
|---|---|
"default" | Add mds-pref-language-item element/s. |
Dependencies
Depends on
Graph
graph TD;
mds-pref-language --> mds-text
mds-pref-language --> mds-tab
mds-pref-language --> mds-tab-item
mds-pref-language --> mds-dropdown
mds-tab-item --> mds-button
mds-button --> mds-spinner
mds-button --> mds-icon
mds-button --> mds-text
style mds-pref-language fill:#f9f,stroke:#333,stroke-width:4pxBuilt with love @ Gruppo Maggioli from R&D Department
2.3.0
8 months ago
2.1.2
10 months ago
2.2.0
9 months ago
2.1.1
11 months ago
2.5.0
7 months ago
2.4.1
8 months ago
2.4.0
8 months ago
2.6.1
5 months ago
2.4.3
7 months ago
2.6.0
6 months ago
2.4.2
8 months ago
2.6.3
5 months ago
2.6.2
5 months ago
2.1.0
11 months ago
2.0.0
11 months ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.2
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago