UNPKG

@infinite-canvas-tutorial/webcomponents

Version:
23 lines (22 loc) 642 B
import { LitElement, PropertyValues } from 'lit'; export declare enum ColorType { None = "none", Solid = "solid", Gradient = "gradient" } export declare class ColorPicker extends LitElement { static styles: import("lit").CSSResult; value: string; types: ColorType[]; type: ColorType; prevColors: Record<ColorType, string>; willUpdate(changedProperties: PropertyValues<this>): void; private handleTypeChanged; private handleColorChanged; render(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ic-spectrum-color-picker': ColorPicker; } }