frames-animation
frames-animation
Introduction
vue component
Install
npm install frames-animation -S
or
yarn add frames-animation -S
Quick Start
<div id="app" class="fa-wrap">
<FramesAnimation :imageList="imgList">
<!-- slot -->
<template #loading>loading</template>
<template #error>error</template>
</FramesAnimation>
</div>
import FramesAnimation from 'frames-animation'
export default {
data() {
return {
imgList: [
'http://www.aaa.com/image1.png',
'http://www.aaa.com/image2.png',
'http://www.aaa.com/image3.png',
'http://www.aaa.com/image4.png',
]
}
}
}
Dependencies
Dependencies
@vue/cli-plugin-babel: ~4.5.0@vue/cli-plugin-eslint: ~4.5.0@vue/cli-plugin-unit-jest: ~4.5.0@vue/cli-service: ~4.5.0@vue/eslint-config-prettier: ^6.0.0@vue/test-utils: ^1.0.3babel-eslint: ^10.1.0core-js: ^3.6.5eslint: ^6.7.2eslint-plugin-prettier: ^3.3.1eslint-plugin-vue: ^6.2.2prettier: ^2.2.1sass: ^1.26.5sass-loader: ^8.0.2vue: ^2.6.11vue-template-compiler: ^2.6.11