vaadin-context-menu

WebJar for vaadin-context-menu

Лицензия

Лицензия

Категории

Категории

Vaadin Взаимодействие с пользователем Веб-фреймворки
Группа

Группа

org.webjars.bowergithub.irvingwa
Идентификатор

Идентификатор

vaadin-context-menu
Последняя версия

Последняя версия

4.0.0-beta2-ai
Дата

Дата

Тип

Тип

jar
Описание

Описание

vaadin-context-menu
WebJar for vaadin-context-menu
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/irvingwa/vaadin-context-menu

Скачать vaadin-context-menu

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.irvingwa/vaadin-context-menu/ -->
<dependency>
    <groupId>org.webjars.bowergithub.irvingwa</groupId>
    <artifactId>vaadin-context-menu</artifactId>
    <version>4.0.0-beta2-ai</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.irvingwa/vaadin-context-menu/
implementation 'org.webjars.bowergithub.irvingwa:vaadin-context-menu:4.0.0-beta2-ai'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.irvingwa/vaadin-context-menu/
implementation ("org.webjars.bowergithub.irvingwa:vaadin-context-menu:4.0.0-beta2-ai")
'org.webjars.bowergithub.irvingwa:vaadin-context-menu:jar:4.0.0-beta2-ai'
<dependency org="org.webjars.bowergithub.irvingwa" name="vaadin-context-menu" rev="4.0.0-beta2-ai">
  <artifact name="vaadin-context-menu" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.irvingwa', module='vaadin-context-menu', version='4.0.0-beta2-ai')
)
libraryDependencies += "org.webjars.bowergithub.irvingwa" % "vaadin-context-menu" % "4.0.0-beta2-ai"
[org.webjars.bowergithub.irvingwa/vaadin-context-menu "4.0.0-beta2-ai"]

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.webjars.bowergithub.polymerelements : iron-media-query jar [2.0.0,3)
org.webjars.bowergithub.vaadin : vaadin-themable-mixin jar [1.1.0,2)
org.webjars.bowergithub.vaadin : vaadin-lumo-styles jar [1.0.0,2)
org.webjars.bowergithub.vaadin : vaadin-overlay jar [2.0.0,3)
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)
org.webjars.bowergithub.vaadin : vaadin-element-mixin jar [1.0.1,2)

Модули Проекта

Данный проект не имеет модулей.

Bower version Published on webcomponents.org Build Status Gitter

<vaadin-context-menu>

Live Demo | API documentation

<vaadin-context-menu> is a Polymer element providing a contextual menu, part of the Vaadin components.

<vaadin-context-menu>
  <template>
    <vaadin-list-box>
      <vaadin-item>First menu item</vaadin-item>
      <vaadin-item>Second menu item</vaadin-item>
      <vaadin-item>Third menu item</vaadin-item>
      <hr>
      <vaadin-item disabled>Fourth menu item</vaadin-item>
      <vaadin-item disabled>Fifth menu item</vaadin-item>
      <hr>
      <vaadin-item>Sixth menu item</vaadin-item>
    </vaadin-list-box>
  </template>

  Open a context menu with <b>right click</b> or with <b>long touch.</b>
</vaadin-context-menu>

Screenshot of vaadin-context-menu

Getting Started

Vaadin components use the Lumo theme by default.

The file structure for Vaadin components

  • src/vaadin-context-menu.html

    Unstyled component.

  • theme/lumo/vaadin-context-menu.html

    Component with Lumo theme.

  • vaadin-context-menu.html

    Alias for theme/lumo/vaadin-context-menu.html

Running demos and tests in browser

  1. Fork the vaadin-context-menu repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the vaadin-context-menu directory, run npm install and then bower install to install dependencies.

  4. Run polymer serve --open, browser will automatically open the component API documentation.

  5. You can also open demo or in-browser tests by adding demo or test to the URL, for example:

Running tests from the command line

  1. When in the vaadin-context-menu directory, run polymer test

Following the coding style

We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running gulp lint, which will automatically lint all .js files as well as JavaScript snippets inside .html files.

Creating a pull request

  • Make sure your code is compliant with our code linters: gulp lint
  • Check that tests are passing: polymer test
  • Submit a pull request with detailed title and description
  • Wait for response from one of Vaadin components team members

License

Apache License 2.0

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

Версии библиотеки

Версия
4.0.0-beta2-ai