@skyux/layout
Version:
This library was generated with [Nx](https://nx.dev).
18 lines (17 loc) • 597 B
TypeScript
import * as i0 from "@angular/core";
/**
* @internal
*/
export declare class SkyPageThemeAdapterService {
#private;
constructor(document: Document);
/**
* We can't use ViewEncapsulation.None for this behavior because Angular does
* not remove `style` tags from the HEAD element after route changes.
* @see https://github.com/angular/angular/issues/16670
*/
addTheme(): void;
removeTheme(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageThemeAdapterService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SkyPageThemeAdapterService>;
}