Menus for actions performed on the product

Hierarchy

  • ProductSelectBar

Implements

Constructors

Properties

_root: HTMLElement
buttons: HTMLElement[] = []
delegate: IMenusDelegate
lastResponsiveData: ResponsivenessData

Accessors

Methods

  • Handle menu button click logic, and call appropriate delegate method, based on the associated menu data

    Parameters

    • e: Event
    • menu: Menu

    Returns void

  • Updates the visible and enabled states of each button

    Remarks

    All actions of actionsToShow should be of type {@type MenuAction}

    Parameters

    • actionsToShow: ToolbeltActionItem[]

      array of MenuActions to show and set enabled/disabled

    Returns void

Generated using TypeDoc