@iplab/ngx-color-picker
Version:
> Pure Angular color picker library.
17 lines (16 loc) • 1 kB
TypeScript
import { OnInit, OnDestroy, ModelSignal, InputSignal, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
import { ColorString } from './../../helpers/color.class';
import { ColorPickerControl } from './../../helpers/control.class';
import * as i0 from "@angular/core";
export declare class IpPickerComponent implements OnInit, OnChanges, OnDestroy {
private readonly cdr;
color: ModelSignal<ColorString>;
control: InputSignal<ColorPickerControl>;
private subscriptions;
constructor(cdr: ChangeDetectorRef);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<IpPickerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<IpPickerComponent, "ip-picker", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; }, never, never, true, never>;
}