https://github.com/moschan/daken
Simple javascript library of typing effect.
https://github.com/moschan/daken
Last synced: 2 months ago
JSON representation
Simple javascript library of typing effect.
- Host: GitHub
- URL: https://github.com/moschan/daken
- Owner: moschan
- Created: 2015-05-04T14:18:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-10T10:06:44.000Z (almost 10 years ago)
- Last Synced: 2025-02-12T15:17:35.868Z (3 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## daken.js
Simple javascript library of typing effect.[](https://travis-ci.org/moschan/daken)
[](https://nodei.co/npm/daken/)## example
```JS
var daken = require('daken');
daken.run();
``````HTML
Hello World
こんにちは、世界
```## 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