1.2.4 • Published 3 years ago

textion v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

CodeFactor

Textion

Textion is a javascript module for text animation. It adds text animation without any affecting your code.

Install

npm install textion
yarn add textion

Usage

Download js file in dist folder or using npm. And include it.

<script src="path/textion.js"></script>

To use Textion, add the class 'textion' to the text elements.

<p class="textion"></p>

Then add the options you want to use in the text elements' class list.

Option List

Class NameDefaultDescription
timeout-{number}0The latency before animation starts. (ms)
interval-{number}65The interval of animation loop. (ms)
repeat-{number}2The number of character changes.
lerpSpeed-{number}4 / {timeout.number}The speed of opacity changing in lerp function
1.2.0

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago