Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

vaadin/vaadin-context-menu-flow

Repository files navigation

⚠️ This repository is deprecated

ContextMenu component for Vaadin Flow

This project is the Component wrapper implementation of <vaadin-context-menu> element for use from the server side with Vaadin Flow.

master branch is the latest version that will at some point be released in the Vaadin platform. See other branches for other framework versions:

  • 1.0 branch is Vaadin 10 (Flow/Flow-component version 1.0, but no LTS support)

Running the component demo

Run from the command line:

  • mvn -pl vaadin-context-menu-flow-demo -Pwar install jetty:run

Then navigate to http://localhost:9998/vaadin-context-menu to see the demo.

Running Integration tests

For running integration tests demos execute one of the following lines depending on the desired mode

  • mvn -pl vaadin-context-menu-flow-integration-tests clean jetty:run
  • mvn -pl vaadin-context-menu-flow-integration-tests clean jetty:run -Dvaadin.bowerMode

Then navigate to http://localhost:9998/ for see integration tests demos.

For running all integration tests execute

  • mvn clean install verify

Installing the component

Run from the command line:

  • mvn clean install -DskipTests

Using the component in a Flow application

To use the component in an application using maven, add the following dependency to your pom.xml:

<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-context-menu-flow</artifactId>
    <version>${component.version}</version>
</dependency>

Flow documentation

Documentation for flow can be found in Flow documentation.

Contributing

License

Apache License 2.0