Skip to content

Latest commit

 

History

History

gif-player

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

gif-player

安装

npm install @n.see/gif-player --save

使用

template
<div
    class="git-player"
    data-src="/src/assets/03.gif"
    data-width="500"
></div>
script
import { onMounted } from 'vue';
import GifPlayer from '@n.see/gif-player';

onMounted(() => {
    GifPlayer.run('.git-player');
});