# v-animation
**Repository Path**: maikro/v-animation
## Basic Information
- **Project Name**: v-animation
- **Description**: vue动画组件,支持多动画连续播放
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: http://maikro.gitee.io/v-animation
- **GVP Project**: No
## Statistics
- **Stars**: 7
- **Forks**: 0
- **Created**: 2020-07-15
- **Last Updated**: 2022-06-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# v-animation

# 安装
```shell
npm install v-animation -S
```
# VAnimation是什么
VAnimation 是一款便捷易使用的vue的动画组件,它集成了强大的预设css3动画库[amiante.css](https://animate.style)。
# 效果预览
## [预览效果](http://maikro.gitee.io/v-animation)
# 注册组件
### 1. 全局注册
> main.js
```javascript
import Vue from 'Vue'
import VAnimation from 'v-animation'
Vue.use(VAnimation)
```
> app.vue
```vue
v-animation
```
## 属性 Attributes
具体使用方法看[详细实例](#example)
| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
|name| 动画名称,可用数组方式设置多个 | Array/String | - |
|duration| 执行时长 | Number | - |
|delay| 延迟时长 | Number | - |
|count| 执行次数,如果设置了infinite="true",此属性无效 | Number | 1 |
|infinite| 是否无限循环 | Boolean | false |
## 示例
#### 1. 单个动画
```vue
v-animation
```
#### 2. 多个动画
```vue
v-animation
```
#### 3. 多个动画定义其它属性,优先级高于属性方式
```vue
v-animation
```
## Issues
[https://github.com/maikro-v/v-animation/issues](https://github.com/maikro-v/v-animation/issues)
## License
[MIT](https://opensource.org/licenses/MIT)
Copyright (c) 2020-present, Maikro