接口 IBlockTablePropertyItemOptions

Properties of block table item

interface IBlockTablePropertyItemOptions {
    enable?: boolean;
    entries?: Map<string, IBlockTableEntryInfo>;
    hiddenLabel?: boolean;
    onOperationClick?: (
        block: string,
        operation: BlockTableOperationType,
    ) => void;
    title?: LocalizedString;
    tooltip?: LocalizedString;
    visible?: boolean;
}

层级 (查看层级一览)

属性

enable?: boolean

Initial enabled state of property item. If undefined, it will default to true.

entries?: Map<string, IBlockTableEntryInfo>

Map of block entries in the block table.

hiddenLabel?: boolean

If true label text will be hidden. It will be visible by default.

onOperationClick?: (block: string, operation: BlockTableOperationType) => void

This callback is called when UI control operation is selected from the UI.

Localized title of the property item.

tooltip?: LocalizedString

Tooltip description of the property item.

visible?: boolean

Initial visibility state of property item. If undefined, it will default to true.