You are viewing documentation for Vaadin Framework 8 and related products View documentation for Vaadin Framework 7 ›
Overview · Vaadin
Vaadin Elements - Context Menu - Overview


vaadin-context-menu is a Polymer element implementing a menu in an overlay which by default is opened by a context click or a long press touch event.

      <paper-item>First menu item</paper-item>
      <paper-item>Second menu item</paper-item>
vaadin context menu
Figure 1. vaadin-context-menu


  • Uses template to define the menu overlay contents

  • Supports data bindings to the context in the menu template

  • Opens on both mouse and touch environments

  • Automatic fullscreen mode for small viewports

  • Configurable opening and closing events, event listener element

  • Provides both declarative HTML and imperative JavaScript APIs