interface EventMap {
    dataChange: ((data: GuideLinePluginType.PluginData, prevData?: GuideLinePluginType.PluginData) => void);
    dataLoaded: ((data: GuideLinePluginType.PluginData) => void);
    disable: ((options: {
        userAction: boolean;
    }) => void);
    dispose: (() => void);
    enable: ((options: {
        userAction: boolean;
    }) => void);
    hide: ((options: {
        userAction: boolean;
    }) => void);
    show: ((options: {
        userAction: boolean;
    }) => void);
    stateChange: ((params: {
        prevState?: GuideLinePluginType.PluginState;
        state: GuideLinePluginType.PluginState;
        userAction: boolean;
    }) => void);
}

Hierarchy

Properties

dataChange: ((data: GuideLinePluginType.PluginData, prevData?: GuideLinePluginType.PluginData) => void)

数据变更

dataLoaded: ((data: GuideLinePluginType.PluginData) => void)

数据加载完成

disable: ((options: {
    userAction: boolean;
}) => void)
dispose: (() => void)

插件被销毁

enable: ((options: {
    userAction: boolean;
}) => void)
hide: ((options: {
    userAction: boolean;
}) => void)
show: ((options: {
    userAction: boolean;
}) => void)
stateChange: ((params: {
    prevState?: GuideLinePluginType.PluginState;
    state: GuideLinePluginType.PluginState;
    userAction: boolean;
}) => void)

插件状态变化