@minecraft
    正在准备搜索索引...

    接口 IMenuPropertyItemOptions

    Optional properties for Menu property item

    interface IMenuPropertyItemOptions {
        enable?: boolean;
        onMenuItemClick?: (menuId: string) => void;
        title?: LocalizedString;
        tooltip?: BasicTooltipContent;
        visible?: boolean;
    }

    层级 (查看层级一览)

    索引

    属性

    enable?: boolean

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

    onMenuItemClick?: (menuId: string) => void

    Called when a menu item is clicked.

    Localized title of the property item.

    Tooltip description of the property item.

    visible?: boolean

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