link-ping
Plugin for your HTML prototypes.
Inspired by Invision, when a user clicks outside a clickable link, clickable links are highlighted.
Pro tip: Hold shift
to highlight all clickable areas.
Install
$ npm install link-ping
How to use
Default usage
index.html
Link Ping Example Linky link <!-- WILL highlight when clicked outside --> Linky link <!-- Will NOT highlight when clicked outside --> Linky link <!-- Will NOT highlight when clicked outside -->
app.js
const linkPing = 'body'
Slightly more advanced usage
index.html
Link Ping Example Linky link <!-- WILL highlight when clicked outside --> Linky link <!-- WILL highlight when clicked outside --> Linky link <!-- Will NOT highlight when clicked outside -->
app.js
const linkPing = 'body' include: '.js-link'