UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

22 lines (21 loc) 638 B
import type { Theme, ThemeVariant } from './types.js'; declare class ThemeChangedEmitter extends EventTarget { constructor(); handleEvent(): void; } export declare const CHANGE_THEME_EVENT = "igc-change-theme"; export declare const CHANGED_THEME_EVENT = "igc-changed-theme"; export declare const _themeChangedEmitter: ThemeChangedEmitter; declare global { interface WindowEventMap { [CHANGE_THEME_EVENT]: CustomEvent<ChangeThemeEventDetail>; } } /** * The possible details of the "igc-change-theme" event. */ export type ChangeThemeEventDetail = { theme: Theme; themeVariant: ThemeVariant; }; export {};