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.

15 lines (14 loc) 397 B
import type { Theme, ThemeVariant } from './types.js'; export declare const CHANGE_THEME_EVENT = "igc-change-theme"; 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; };