UNPKG

ngx-colours

Version:

A beautiful color picker for angular that let you choose from a color palette, using sliders (Hue, Lightness, Alpha sliders) or through text input(hex, rgba, hsla)

15 lines (14 loc) 723 B
import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core'; import { NgxColorsTriggerDirective } from './directives/ngx-colors-trigger.directive'; import * as i0 from "@angular/core"; export declare class NgxColorsComponent implements OnInit, OnDestroy { private cdRef; private triggerDirective; private triggerDirectiveColorChangeSubscription; constructor(cdRef: ChangeDetectorRef, triggerDirective: NgxColorsTriggerDirective); ngOnInit(): void; ngOnDestroy(): void; color: string; static ɵfac: i0.ɵɵFactoryDeclaration<NgxColorsComponent, [null, { host: true; }]>; static ɵcmp: i0.ɵɵComponentDeclaration<NgxColorsComponent, "ngx-colors", never, {}, {}, never, never>; }