Manager for IActionBarItem objects.

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

Methods

  • Beta

    Parameters

    • id: string

      Unique item identifier.

    Returns void

    Remove an action item from the collection.