插件状态

interface State {
    config?: unknown;
    enabled: boolean;
    mode: "box" | "mask";
    selectAll: boolean;
    selectedId: string;
    visible: boolean;
}

Hierarchy (view full)

Properties

config?: unknown

插件的配置项

enabled: boolean

插件是否启用

mode: "box" | "mask"

插件模式

selectAll: boolean

全选

selectedId: string

选中ID

visible: boolean

插件整体是否可见