typed.js 介绍
typed.js是一款模拟控制台打印 文字 效果 的js 插件 。typed.js可以自由的控制要打印的 文字 ,以及打印的速度等,可以制作出逼真的打印 文字 效果 。?
Intyped.js安装
npmnpm install typed.js
Yarnyarn add typed.js
Bowerbower install typed.js
SetupThis is really all you need to get going.
// Can also be included with a regular script tag
import Typed from 'typed.js';
var options = {
strings: ["<i>F irs t</i> sentence.","& a second sentence."],
typeSpeed: 40
}
var typed = new Typed(".element",options);
网站地址 : https://mattboldt.com/demos/typed-js/
GitHub: https://github.com/mattboldt/typed.js
网站描述: 一款模拟控制台打印 文字 效果 的js 插件
typed.js官方网站
官方网站: https://mattboldt.com/demos/typed-js/
如果觉得 网站内容还不错,欢迎将 网站 推荐给程序员好友。
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did174840