UNPKG

primeng

Version:

PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB

29 lines (28 loc) 847 B
import { BaseStyle } from 'primeng/base'; import * as i0 from "@angular/core"; export type ThemeType = { preset?: any; options?: any; } | 'none' | boolean | undefined; export type ThemeConfigType = { theme?: ThemeType; csp?: { nonce: string | undefined; }; }; export declare class ThemeProvider { theme: import("@angular/core").WritableSignal<any>; csp: import("@angular/core").WritableSignal<{ nonce: string | undefined; }>; isThemeChanged: boolean; document: Document; baseStyle: BaseStyle; constructor(); ngOnDestroy(): void; onThemeChange(value: any): void; loadCommonTheme(): void; setThemeConfig(config: ThemeConfigType): void; static ɵfac: i0.ɵɵFactoryDeclaration<ThemeProvider, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ThemeProvider>; }