Socket
Socket
Sign inDemoInstall

@vaadin/vaadin-control-state-mixin

Package Overview
Dependencies
2
Maintainers
14
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @vaadin/vaadin-control-state-mixin

vaadin-control-state-mixin


Version published
Maintainers
14
Created

Readme

Source

vaadin-control-state-mixin

⚠️ Starting from Vaadin 20, the source code and issues for this component mixin are migrated to the vaadin/web-components monorepository. This repository contains the source code and releases of @vaadin/vaadin-control-state-mixin for the Vaadin versions 10 to 19.

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

npm version Bower version Build Status Gitter

Running tests in browser

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

  2. Make sure you have npm and Bower installed.

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

  4. Make sure you have polymer-cli installed globally: npm i -g polymer-cli.

  5. Run npm start.

  6. Navigate to http://127.0.0.1:3000/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 npm run lint, which will automatically lint all .js files as well as JavaScript snippets inside .html files.

Creating a pull request

To contribute to the component, please read the guideline first.

License

Apache License 2.0

Keywords

FAQs

Last updated on 18 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc