@electrovir/color
Version:
A wrapper for culori with an extremely simple API.
15 lines (14 loc) • 550 B
TypeScript
/**
* A color swatch alongside the color in all of its different supported formats.
*
* @category Internal
*/
export declare const VirColorDetails: import("element-vir").DeclarativeElementDefinition<"vir-color-details", {
color: string;
/** Show a text input that triggers an event when it is edited, for changing the color. */
showInput: boolean;
}, {
inputColorString: undefined | string;
}, {
colorChange: import("element-vir").DefineEvent<string>;
}, "vir-color-details-", "vir-color-details-", readonly [], readonly []>;