$ bower install gaia-components/gaia-checkbox
Then include folowing files in HTML
<link href="bower_components/gaia-icons/gaia-icons.css"></link>
<script src="bower_components/gaia-switch/gaia-checkbox.js"></script>
<gaia-checkbox></gaia-checkbox>
Checked
<gaia-checkbox checked></gaia-checkbox>
Disabled
<gaia-checkbox disabled></gaia-checkbox>
- Ensure Firefox Nightly is installed on your machine.
$ npm install
$ npm run test-unit
If you would like tests to run on file change use:
$ npm run test-unit-dev
If your would like run integration tests, use:
$ export FIREFOX_NIGHTLY_BIN=/absolute/path/to/nightly/firefox-bin
$ npm run test-integration
Run lint check with command:
$ npm run test-lint