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
Size: 195
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A mixin which adds focused
and focus-ring
states to an element.
Fork the vaadin-control-state-mixin
repository and clone it locally.
Make sure you have npm installed.
When in the vaadin-control-state-mixin
directory, run npm install
to install dependencies.
Install polyserve: npm install -g polyserve
When in the vaadin-control-state-mixin
directory, run polyserve --open
, browser will automatically open the component API documentation.
You can also open in-browser tests by adding test to the URL, for example:
http://127.0.0.1:8080/components/vaadin-control-state-mixin/test/index.html
Install web-component-tester: npm install -g web-component-tester
When in the vaadin-control-state-mixin
directory, run wct
or npm test
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.
gulp lint
npm test
Apache License 2.0