vaadin/vaadin-control-state-mixin

Name: vaadin-control-state-mixin

Owner: Vaadin

Description: A shared mixin for input elements that handles focus, focus-ring, tabindex ...

Created: 2017-04-18 08:34:03.0

Updated: 2018-03-20 09:26:59.0

Pushed: 2018-05-13 19:32:12.0

Homepage:

Size: 195

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Bower version Build Status Gitter

vaadin-control-state-mixin

A mixin which adds focused and focus-ring states to an element.

Contributing
  1. Fork the vaadin-control-state-mixin repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the vaadin-control-state-mixin directory, run npm install to install dependencies.

Running tests in browser
  1. Install polyserve: npm install -g polyserve

  2. When in the vaadin-control-state-mixin directory, run polyserve --open, browser will automatically open the component API documentation.

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

  4. http://127.0.0.1:8080/components/vaadin-control-state-mixin/test/index.html

Running tests from the command line
  1. Install web-component-tester: npm install -g web-component-tester

  2. When in the vaadin-control-state-mixin directory, run wct or npm 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
License

Apache License 2.0


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.