Skip to content

It's a vue component that will play and stop animated gifs.

Notifications You must be signed in to change notification settings

answer518/vue-gif-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gifplayer

It's a vue component that will play and stop animated gifs.

Basic Usage

  1. Add a preview of the gif file to your website
<template>
    <gif-player ref="example1" :src="media/banana.png"></gif-player>
</template>
<script src='https://unpkg.com/[email protected]/dist/vue.js'></script>
<script src="../dist/vue-gif-player.min.js"></script>
  <script type="text/javascript">
    Vue.use(VueGifPlayer)
    var Main = {
      name: 'test',
      data() {
        return {
          url: 'media/banana.png'
        }
      },
      methods: {

      }
    }
    var Actor = Vue.extend(Main)
    new Actor().$mount('#app')
</script>

About

It's a vue component that will play and stop animated gifs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published