@iplab/ngx-color-picker
Version:
> Pure Angular color picker library.
21 lines (20 loc) • 942 B
TypeScript
import { Renderer2, ElementRef, ModelSignal, Signal } from '@angular/core';
import { Color } from './../../../helpers/color.class';
import { BaseComponent } from './../base.component';
import * as i0 from "@angular/core";
export declare class SaturationComponent extends BaseComponent {
private readonly renderer;
color: ModelSignal<Color>;
readonly pointer: Signal<ElementRef>;
constructor(renderer: Renderer2);
protected movePointer({ x, y, height, width }: {
x: any;
y: any;
height: any;
width: any;
}): void;
private updateBackgroundColor;
private changePointerPosition;
static ɵfac: i0.ɵɵFactoryDeclaration<SaturationComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SaturationComponent, "saturation-component", never, { "color": { "alias": "color"; "required": true; "isSignal": true; }; }, { "color": "colorChange"; }, never, never, true, never>;
}