Interface HasItemClickHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
Menu, MenuPalette, SelectionTreeMenu

public interface HasItemClickHandlers extends HasHandlers
  • Method Details

    • addItemClickHandler

      HandlerRegistration addItemClickHandler(ItemClickHandler handler)
      Executed when a menu item with no click handler is clicked by the user. This itemClick handler must be specified as a function. It is passed an item parameter that is a reference to the clicked menu item.
      Parameters:
      handler - the itemClick handler
      Returns:
      HandlerRegistration used to remove this handler