UNPKG

tsiclient

Version:

--- [//]: <> (This content is similar to https://github.com/MicrosoftDocs/azure-docs/edit/main/includes/tsi-retirement.md)

27 lines (24 loc) 829 B
import { C as Component } from './Component-1d0e5b9b'; 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 C };