扫一扫分享
typed.js是一款模拟控制台打印文字效果的js插件。typed.js可以自由的控制要打印的文字,以及打印的速度等,可以制作出逼真的打印文字效果。
npm install typed.js
yarn add typed.js
bower install typed.js
This 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>First</i> sentence.", "& a second sentence."], typeSpeed: 40 } var typed = new Typed(".element", options);
仅供个人学习参考/导航指引使用,具体请以第三方网站说明为准,本站不提供任何专业建议。如果地址失效或描述有误,请联系站长反馈~感谢您的理解与支持!
手机预览