SiThemeDomTarget Type documentation¶
TypeScript declaration¶
DOM boundary controlled by SiThemeService. Element that receives theme and color-scheme classes. Event target for the legacy eventTarget ? : CSS selector used for runtime theme variables. appendStyleElement forEachElement callback : getStyleElement registerElement ? updateColorScheme import type { SiThemeDomTarget } from '@siemens/element-ng/theme';
theme-switch event.EventTarget ¶
(style: HTMLStyleElement) => void ¶ (callback: (element: HTMLElement) => void) => void ¶
(element: HTMLElement) => void ¶ (id: string) => HTMLStyleElement | null ¶ (element: HTMLElement) => () => void ¶ (colorScheme: ColorScheme) => void ¶
Types Documentation¶
import type { ColorScheme } from '@siemens/element-ng/theme';
Except where otherwise noted, content on this site is licensed under MIT License.