AutoTyping.js是原生JavaScript打字效果js插件,连续的文本输入和删除效果适用于一个字符串数组。创建一个文本自动旋转,旋转通过字符输入任何文本效果。调用方法const myheader = new AutoTyping({ id: 'header', typeText: ['AutoTyping.js Example', 'A Text Typing Effect'] })初始化myheader.init()自定义颜色const myheader = new AutoTyping({ id: 'header', typeText: ['AutoTyping.js Example', 'A Text Typing Effect'], textColor: '#ff0000' })自定义打字特效const myheader = new AutoTyping({ id: 'header', typeText: ['AutoTyping.js Example', 'A Text Typing Effect'], typeSpeed: 100, typeDelay: 100, typeRandom: false, deleteSpeed: 50, deleteDelay: 50, typeInfinity: true })自定义光标效果const myheader = new AutoTyping({ id: 'header', typeText: ['AutoTyping.js Example', 'A Text Typing Effect'], cursor: '|', cursorColor: '#000', cursorSpeed: 300 })回调方法const myheader = new AutoTyping({ id: 'header', typeText: ['AutoTyping.js Example', 'A Text Typing Effect'], callBack: { counter: 3, method: function(counter){ // do something } } })
文件目录······
暂无数据
猜你喜欢
更多»
项目推荐
更多»
PDF电子书
更多»
Java多线程编程核心技术
(2)
Linux命令详解词典.pdf
(5)
深入Python3中文版
(0)
百度SEO一本通.pdf
(0)
mysql必知必会.pdf
(2)
疯狂JAVA讲义 pdf电子书
(3)
C# 图解教程pdf电子书
(3)
研磨设计模式 pdf电子书
(0)