Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
fxos-button
Advanced tools
$ npm install fxos-button
<fxos-button>normal button<fxos-button>
Add disabled
attribute to disable the button.
<fxos-button disabled>button disabled</fxos-button>
Button be used in conjunction with fxos-icons.
<fxos-button><i data-icon="back-light" aria-hidden="true"></i><span>Back</span></fxos-button>
<fxos-button><span>Forward</span><i data-icon="forward-light" aria-hidden="true"></i></fxos-button>
Remember to add aria-hidden="true"
when both icon and text existed for Accessibility. So the screen reader will read the button text and ignore the icon text.
Add circular
attribute to turn button into circular form.
<fxos-button circular><i data-icon="camera"></i></fxos-button>
git clone https://github.com/fxos-components/fxos-button.git
cd fxos-button
npm install
(NPM3)npm start
$ npm install
$ npm run test-unit
If your 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
FAQs
## Installation
The npm package fxos-button receives a total of 0 weekly downloads. As such, fxos-button popularity was classified as not popular.
We found that fxos-button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.