Skip to content

moschan/daken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

daken.js

Simple javascript library of typing effect.

Build Status NPM

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

About

Simple javascript library of typing effect.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published