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.

19 lines (18 loc) 802 B
import { type ReactiveController, type ReactiveControllerHost, type ReactiveElement } from 'lit'; import type { Theme, ThemeChangedCallback, ThemeController, ThemeVariant, Themes } from './types.js'; declare class ThemingController implements ReactiveController, ThemeController { private themes; private host; theme: Theme; themeVariant: ThemeVariant; onThemeChanged?: ThemeChangedCallback; constructor(host: ReactiveControllerHost & ReactiveElement, themes: Themes); hostConnected(): void; hostDisconnected(): void; handleEvent(): void; private getStyles; protected adoptStyles(): void; private themeChanged; } export declare function createThemeController(host: ReactiveControllerHost & ReactiveElement, themes: Themes): ThemingController; export {};