Skip to content

oumq/frames-animation

Repository files navigation

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',
      ]
    }
  }
}

About

vue components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published