接口 IActionBar实验性

Manager for IActionBarItem objects.

interface IActionBar {
    registerItem(id: string, action: RegisteredAction<NoArgsAction>, props: IActionBarItemCreationParams): IActionBarItem;
    unregisterItem(id: string): void;
}

方法

  • 实验性

    参数

    • id: string

      Unique item identifier.

    返回 void

    Remove an action item from the collection.