UNPKG

@iplab/ngx-color-picker

Version:
20 lines (19 loc) 1.12 kB
import { OnInit, OnDestroy, ChangeDetectorRef, ModelSignal, InputSignal, SimpleChanges, OnChanges } from '@angular/core'; import { ColorPickerControl } from './../../helpers/control.class'; import { ColorString } from '../../helpers/color.class'; import * as i0 from "@angular/core"; export declare class ChromePickerComponent implements OnInit, OnChanges, OnDestroy { private readonly cdr; selectedPresentation: number; presentations: string[]; color: ModelSignal<ColorString>; control: InputSignal<ColorPickerControl>; private subscriptions; constructor(cdr: ChangeDetectorRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; changePresentation(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ChromePickerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ChromePickerComponent, "chrome-picker", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; }, never, ["[before]", "*"], true, never>; }