使用vue.js输入文字

Vue-Typeout文本 (Vue-Typeout-Text)

Type out the text with vue.js.

使用vue.js输入文字。

<typeout-text content="Hello world!" speed="2" />

Vue-Typeout-Textc

Animate.css支持 (Animate.css support)

anim2

animdemo

If you want to text by typed out with animation you can add animate.css from CDN into head in index.html then set animation attribute to any of animations from animate.css

如果要通过动画输入文字,可以将CDN中的animate.css添加到index.html的头部,然后将animation.css中的任何动画设置为动画属性

<typeout-text content="Hello world!" speed="1.5" animation="swing" />

安装 (Installation)

Install with NPM

使用NPM安装

npm i vue-typeout-text

then import and use with Vue

然后导入并与Vue一起使用

Vue.use(vueTypeoutText)

翻译自: https://vuejsexamples.com/type-out-the-text-with-vue-js/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值