Skip to content

Random Word is a package to create random word animation and generate randomized words based on word data provided by the user.

Notifications You must be signed in to change notification settings

luhur65/RandomWordAnimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Word

Netlify Status

Demo Lihat Demo

Random Word is a package to create random word animation and generate randomized words based on word data provided by the user.

How to use

// Install from NPM
npm i randomwordanimation

// Config for Random Word
RandomWord({
  dataText: [], // Words to be shuffled as animation 
  htmlElem: '', // The placeholder html tag for text
  interval: 150, // by default time inteval set to 150
  timeout: 8000, // by default timeout set to 8000 ( 8 seconds)
});

here a example to use random word :

// call the random word
import RandomWord from "./script/src/main.js";

RandomWord({
  dataText: ['hai', 'hello'],
  htmlElem: 'h1',
});

If you want to change or add features of this package please make a pull req on Github so I'll be happy to check your code

.

All of my contact person is on my github account , don't forget to check it

About

Random Word is a package to create random word animation and generate randomized words based on word data provided by the user.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published