animate.css_Animate.css的过渡组件

animate.css

Vue动画 (vue-animated)

transition component for Animate.css.

Animate.css的过渡组件。

安装 (Installation)

Download the project using your favorite package manager:

使用您最喜欢的包管理器下载项目:

npm install @codekraft-studio/vue-animated
yarn add @codekraft-studio/vue-animated

Then load it in your project:

然后将其加载到您的项目中:

import VueAnimated from '@codekraft-studio/vue-animated'

Vue.use(VueAnimated)

Than use it in your application as you would with transitions:

就像在转换中那样在应用程序中使用它:

<AnimatedTransition>
  <div v-if="show" class="box"></div>
</AnimatedTransition>

Or customize it as you want, it will adapt the css animation to your settings

或根据需要对其进行自定义,它将使CSS动画适应您的设置

<AnimatedTransition enter="slideInDown" leave="slideInDown" duration="5000">
  <!-- Normal transition content -->
</AnimatedTransition>


项目设置 (Project setup)

npm install

编译和热重装以进行开发 (Compiles and hot-reloads for development)

npm run serve

编译并最小化生产 (Compiles and minifies for production)

npm run build

运行测试 (Run your tests)

npm run test

整理和修复文件 (Lints and fixes files)

npm run lint

运行单元测试 (Run your unit tests)

npm run test:unit

翻译自: https://vuejsexamples.com/transition-component-for-animate-css/

animate.css

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值