@alilc/lowcode-editor-core
Version:
Core Api for Ali lowCode engine
9 lines (8 loc) • 425 B
TypeScript
export declare function setGlobalEventFlag(flag: boolean): void;
export declare function switchGlobalEventOn(): void;
export declare function switchGlobalEventOff(): void;
export declare function isGlobalEventOn(): boolean;
export declare function runWithGlobalEventOff(fn: Function): void;
type ListenerFunc = (...args: any[]) => void;
export declare function wrapWithEventSwitch(fn: ListenerFunc): ListenerFunc;
export {};