ThemeSignalSource
Defined in: src/ui/theme.ts:132
The bits of an element detectHostTheme reads (keeps it testable without a DOM).
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
classList |
object |
src/ui/theme.ts:133 |
classList.contains |
(token) => boolean |
src/ui/theme.ts:133 |
style? |
object |
src/ui/theme.ts:135 |
style.colorScheme? |
string |
src/ui/theme.ts:135 |
Methods
Section titled “Methods”getAttribute()
Section titled “getAttribute()”getAttribute(name): string | null;Defined in: src/ui/theme.ts:134
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name |
string |
Returns
Section titled “Returns”string | null