UNPKG

dynamic-theme-lib

Version:

A flexible and powerful theme management library for Angular applications that allows dynamic color management and theme switching.

18 lines (17 loc) 808 B
import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { ColourService } from '../services/colour.service'; import * as i0 from "@angular/core"; export declare class TextColorDirective implements OnInit, OnChanges, OnDestroy { private el; private colorService; libTextColour: string; private colorSubscription; private currentColor; constructor(el: ElementRef, colorService: ColourService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private applyColor; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<TextColorDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<TextColorDirective, "[libTextColour]", never, { "libTextColour": "libTextColour"; }, {}, never>; }