UNPKG

color-picker-svelte

Version:
26 lines (25 loc) 845 B
import { SvelteComponentTyped } from "svelte"; import type { Color } from './color'; import { Position } from './'; declare const __propDef: { props: { color: Color; isOpen?: boolean; showAlphaSlider?: boolean; position?: Position; /** Element used to figure out position (probably an input element) */ positioningContextElement: HTMLElement; onInput?: () => void; }; events: { touchstart: TouchEvent; } & { [evt: string]: CustomEvent<any>; }; slots: {}; }; export type ColorPickerProps = typeof __propDef.props; export type ColorPickerEvents = typeof __propDef.events; export type ColorPickerSlots = typeof __propDef.slots; export default class ColorPicker extends SvelteComponentTyped<ColorPickerProps, ColorPickerEvents, ColorPickerSlots> { } export {};