vaadin-control-state-mixin
A mixin which adds focused
and focus-ring
states to an element.
Running tests in browser
-
Fork the vaadin-control-state-mixin
repository and clone it locally.
-
Make sure you have npm.
-
When in the vaadin-control-state-mixin
directory, run npm install
to install dependencies.
-
Run npm test
to start the tests in Chrome.
Debugging tests in browser
- Run
npm run debug
, then choose manual mode (M) and open the link in browser.
Following the coding style
We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running npm run lint
, which will automatically lint all .js
files.
Creating a pull request
To contribute to the component, please read the guideline first.
License
Apache License 2.0