2.7.2 • Published 5 months ago
@maggioli-design-system/mds-pref-theme v2.7.2
mds-pref-theme
Properties
| Property | Attribute | Description | Type | Default | 
|---|---|---|---|---|
| mode | mode | Specifies the preference mode | "dark" \| "light" \| "system" \| undefined | undefined | 
| transition | transition | Specifies the transition of switching from a theme to another one | "flash" \| "none" \| "smooth" | 'smooth' | 
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-theme --> mds-text
  mds-pref-theme --> mds-tab
  mds-pref-theme --> mds-tab-item
  mds-tab-item --> mds-button
  mds-button --> mds-spinner
  mds-button --> mds-icon
  mds-button --> mds-text
  style mds-pref-theme fill:#f9f,stroke:#333,stroke-width:4pxBuilt with love @ Gruppo Maggioli from R&D Department
2.3.0
8 months ago
2.2.1
9 months ago
2.2.0
9 months ago
2.1.1
11 months ago
2.5.0
8 months ago
2.4.0
8 months ago
2.7.0
6 months ago
2.6.1
7 months ago
2.5.2
8 months ago
2.6.0
7 months ago
2.5.1
8 months ago
2.7.2
5 months ago
2.7.1
6 months ago
2.1.0
11 months ago
2.0.0
11 months 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