jQuery collection plugin that changes anchor tag semantics and behaviour to button semantics and behaviour
npm install jquery-hijax-buttonjQuery collection plugin that changes anchor tag semantics and behaviour to button semantics and behaviour.
``js`
$(selector).hijaxButton();
This plugin 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.
`js`
npm install jquery-hijax-button
Markup before plugin:
`html`
Link
Markup after plugin:
`html`
Link
SPACEBAR key now triggers a click event.
Useful NPM task runners:
* npm start for local browser-sync development.npm test
* runs tests & generates reports (see reports section below)npm run tdd
* test driven development: watches code and re-tests after any changenpm run build
* cleans, lints, tests and minifies
Execute npm run to view all available CLI scripts.
Each test run will generate the following reports:
* /test_reports/coverage contains Istanbul code coverage report/test_reports/html
* contains HTML test report/test_reports/junit` contains JUnit test report
*
https://travis-ci.org/makeup-jquery/jquery-hijax-button
https://coveralls.io/github/makeup-jquery/jquery-hijax-button?branch=master