@lyonbot/interactive-blocks
Version:
Make interactive selectable, drag-and-drop, copy-and-paste ready, Block and Slot components easily! Works with Vue, React and any MV* framework.
13 lines (12 loc) • 439 B
TypeScript
/**
* Something with "ctrlKey" and "shiftKey" properties.
*
* for example, `Event` objects.
*/
export interface WithModifierKeys {
ctrlKey: boolean;
shiftKey: boolean;
metaKey: boolean;
}
export declare type MultipleSelectType = "none" | "ctrl" | "shift" | WithModifierKeys | boolean | undefined | null;
export declare function normalizeMultipleSelectType(value: MultipleSelectType): "none" | "ctrl" | "shift";