dqt
Techology for create one button controlled interfaces.
About
Do you know a man who can press only one button? Maybe. But i think you don't. In world many people wanna use your site, but can't. With this library you can create interface for them. Free and fast.
Demo
Install
npm install --save dqt
Example
var DQT = ;var dqt = 'mum' 'dad' 'son' 'dauther';dqt;processstdin;
Let's go with JQuery. Link navigation
vkyandexChoose
Scripts
- npm run test :
node test.js
- npm run browserify :
browserify index.js > dqt.browser.js
API
DQT extends EventEmitter. You create object of DQT.
DQT
Class representing dqt model.
constructor
Create a dqt.
Params:
- array set - The set for chossen.
- number interval - The timeout of choose.
Events
- step, call in each timeout, Params is choosen element {Object} and x, y {number}
- choose, call when user choose something, group or element.
- click, you should emit it, oh you should do it.
Contributing
Contributions welcome; Please submit all pull requests the against master branch.Thanks!
Author
ibakaidov