【文件属性】:
文件名称:RandomWordAnimation:Random Word是用于创建随机单词动画并根据用户提供的单词数据生成随机单词的程序包
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-27 10:27:49
word random-words JavaScript
随机词
演示
随机单词是一个用于创建随机单词动画并根据用户提供的单词数据生成随机单词的程序包。
如何使用
// 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)
} ) ;
这是一个使用随机词的例子:
【文件预览】:
RandomWordAnimation-main
----index.html(2KB)
----script()
--------src()
----README.md(1KB)
----index.js(2KB)
----package.json(426B)