1.0.1 • Published 9 years ago
daken v1.0.1
daken.js
Simple javascript library of typing effect.
example
var daken = require('daken');
daken.run();
<h1 data-daken>Hello World</h1>
<a href="/" data-daken>こんにちは、世界</a>
methods
run(selector, opt, cb)
runStr(typeMessage,selector, opt, cb)
setParam(options)
resetParam(options)
options
// Defaults param
DEFAULT_PARAM: {
typeSpeed : 100,
callbackDelay : 0,
dakenDataAttr : 'data-daken',
blinkInterval : 500
},
install
npm install daken
license
MIT