UNPKG

@alilc/lowcode-editor-core

Version:

Core Api for Ali lowCode engine

17 lines (16 loc) 529 B
import { IPublicTypeTipConfig } from '@alilc/lowcode-types'; export interface TipOptions extends IPublicTypeTipConfig { target: HTMLElement; } declare class TipHandler { tip: TipOptions | null; private showDelay; private hideDelay; private emitter; setTarget(target: HTMLElement): void; hideImmediately(): void; onChange(func: () => void): () => void; } export declare const tipHandler: TipHandler; export declare function postTip(id: string, props: IPublicTypeTipConfig | null): void; export {};