tsiclient
Version:
<a href="https://tsiclientsample.azurewebsites.net"><img src="https://insights.timeseries.azure.com/favicons/android-chrome-192x192.png" align="left" hspace="10" vspace="6" height="100px"></a>
25 lines (24 loc) • 831 B
TypeScript
import { Component } from "./Component-8ea21f2e";
interface ColorPickerOptions {
theme?: string;
numberOfColors?: number;
colors?: Array<string>;
defaultColor?: string;
isColorValueHidden?: boolean;
onSelect?: (colorHex: string) => void;
onClick?: (event: any) => void;
}
declare class ColorPicker extends Component {
private colorPickerElem;
private selectedColor;
private isColorGridVisible;
private componentId;
constructor(renderTarget: Element, componentId?: string);
render(options?: ColorPickerOptions): void;
getSelectedColorValue: () => string;
private showColorGrid;
hideColorGrid: (withFocusBackToPickerButton?: boolean) => void;
private setSelectedColor;
getColorPickerElem: () => any;
}
export { ColorPicker as default };