tdesign-mobile-vue
Version:
tdesign-mobile-vue
8 lines (7 loc) • 419 B
TypeScript
import { Color } from '../_common/js/color-picker';
export declare const getCoordinate: (e: TouchEvent, rect: DOMRect, isFixed?: boolean) => {
x: number;
y: number;
};
export declare const getFormatList: (format: "CMYK" | "CSS" | "HEX" | "HEX8" | "HSL" | "HSLA" | "HSV" | "HSVA" | "RGB" | "RGBA", color: Color) => [string, (string | number)[]];
export declare const genSwatchList: (prop: string[]) => string[];