Author: | dieulot |
---|---|
Views Total: | 187 views |
Official Page: | Go to website |
Last Update: | June 12, 2018 |
License: | MIT |
Preview:

Description:
instantclick.js is a useful javascript library that preloads links you are likely to click on in order to reduce the response time of mouse hover and mouse down (touch events supported).
Basic Usage:
Include the instantclick.js
javascript library in the document.
<script src="instantclick.min.js" data-no-instant></script>
Initialize it with a true
argument.
InstantClick.init(true);
Make a link ‘instant’ using data-instant
attribute.
<a href="demo.html" data-instant>Link</a>
You can also blacklist a link by using data-no-instant
attribute.
<a href="demo.html" data-no-instant>Link</a>
Changelog:
06/12/2018
- Fix delegated click event not being triggered on elements without a cursor pointer on Mobile Safari