A property item which supports Block Table properties

interface IBlockTablePropertyItem {
    enable: boolean;
    id: string;
    paneId: string;
    typeName: PropertyItemType;
    visible: boolean;
    addOrUpdateEntry(
        block: string | BlockType,
        blockInfo: IBlockTableEntryInfo,
    ): void;
    deleteEntry(block: string): void;
    getEntry(block: string | BlockType): IBlockTableEntryInfo;
    setTitle(title: LocalizedString): void;
    updateEntries(entries: Map<string, IBlockTableEntryInfo>): void;
}

层级 (查看层级一览)

属性

enable: boolean

If the item is enabled in the UI.

id: string

Unique ID for the property item.

paneId: string

The parent pane id.

The type name of the target property.

visible: boolean

If the item should be visible in the UI.

方法

  • 参数

    • block: string

      an entry in the block table.

    返回 void

    Delete entry in the block table, by block name