An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

## daken.js
Simple javascript library of typing effect.

[![Build Status](https://travis-ci.org/moschan/daken.svg)](https://travis-ci.org/moschan/daken)
[![NPM](https://nodei.co/npm/daken.png)](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