Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
makeup-key-emitter
Advanced tools
Emits custom events for common accessibility keys (arrowRightKeyDown, escKeyDown, etc)
Emits custom events for common accessibility keys (arrowRightKeyDown, escKeyDown, etc).
A vanilla JavaScript port of jquery-common-keydown.
This module is still in an experimental state, until it reaches v1.0.0 you must consider all minor releases as breaking changes. Patch releases may introduce new features, but will be backwards compatible.
// via npm
npm install makeup-key-emitter
// via yarn
yarn add makeup-key-emitter
const KeyEmitter = require('makeup-key-emitter');
let el = document.getElementById('#widget1');
KeyEmitter.addKeyDown(el);
el.addEventListener('arrowRightKeyDown', function(e) {
console.log(this, e.type); // outputs (el1, 'arrowRightKeyDown')
});
npm start
npm test
npm run lint
npm run fix
npm run build
npm run clean
The following hooks exist, and do not need to be invoked manually:
npm prepublish
cleans, lints, tests and builds on every npm publish
commandpre-commit
cleans, lints, tests and builds on every git commit
commandEach test run will generate the following reports:
/reports/coverage
contains Istanbul code coverage report/reports/html
contains HTML test reporthttps://travis-ci.org/makeup-js/makeup-key-emitter
FAQs
Emits custom events for common accessibility keys (arrowRightKeyDown, escKeyDown, etc)
The npm package makeup-key-emitter receives a total of 118 weekly downloads. As such, makeup-key-emitter popularity was classified as not popular.
We found that makeup-key-emitter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.