0.1.1 • Published 11 years ago
jqb-ko-fastclick v0.1.1
KnockoutJS FastClick
Add a fastclick custom data binding to KnockoutJS.
fastclickreduces the 300ms delay problem when clicking on touch devices.
This module is just a KnockoutJS wrapper around ftlabs/fastclick library.
Install into a Workspace project
Install this module via NPM:
npm install jqm-ko-fastklick --saveThen just load it into your src/index.js entry point:
require('jqb-ko-fastclick');There is no initialisation options or procedures for this module.
Use in a Template
fastclick is just a plain wrapper for the click binding so you use it exactly the same way:
<button data-bind="fastclick:handler">ClickMe!</button>