@iplab/ngx-color-picker
Version:
> Pure Angular color picker library.
19 lines (18 loc) • 998 B
TypeScript
import { OnInit, OnDestroy, ChangeDetectorRef, ModelSignal, OnChanges, SimpleChanges } from '@angular/core';
import { ColorString } from './../../helpers/color.class';
import { ColorPickerControl } from './../../helpers/control.class';
import * as i0 from "@angular/core";
export declare class SwatchesPickerComponent implements OnInit, OnChanges, OnDestroy {
private readonly cdr;
color: ModelSignal<ColorString>;
control: ColorPickerControl;
childControl: ColorPickerControl;
private subscriptions;
private mapColors;
constructor(cdr: ChangeDetectorRef);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SwatchesPickerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SwatchesPickerComponent, "swatches-picker", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; }, never, ["[before]", "*"], true, never>;
}