v1.0.0
Overview
<vaadin-context-menu>
is an element implementing a menu in an overlay which by default is opened by a context click or a long press touch event.
<vaadin-context-menu>
<template>
<paper-menu>
<paper-item>First menu item</paper-item>
<paper-item>Second menu item</paper-item>
</paper-menu>
</template>
</vaadin-context-menu>
Features
- 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
Demos and documentation
No changes since v1.0.0-beta1