1.1.752 • Published 6 years ago
vue-movie-clip v1.1.752
vue-movie-clip
Sequence of frames for vue.js
<vue-movie-clip ref="my_movieclip" :auto-play="true" :init-frame="10" width="640px"
height="360px" type="canvas" v-show="true" :frame-time="frameTime"
:frame="frame" :frames="frames"
:loop="loop" :forward="forward"
@frame="onFrame" @play="onPlay" @stop="onStop">
</vue-movie-clip>
###Usage
npm install vue-movie-clip --save
import VueMovieClip from 'vue-movie-clip'
###props:
width:String "640px"/"*px"
height:String "360px"/"*px"
type:String "canvas"/"dom"
autoPlay:Boolean true/false
frameTime:Number 50/(1+)
frames:Array []/['xxx.jpg']
loop:Number 1/ -1 loop
forward:Boolean true/false
render true/false 是否渲染
###methods
update() 更新序列帧
play()
stop()
skipTo(frame:Number)
setFrameTime(frameTime:Number)
###Events
frame
play
stop
###properties
playing:Boolean
frameTime:Number
forward:Boolean
width:String
height:String
1.1.752
6 years ago
1.1.751
6 years ago
1.1.75
6 years ago
1.1.741
6 years ago
1.1.74
6 years ago
1.1.731
6 years ago
1.1.73
6 years ago
1.1.72
6 years ago
1.1.71
6 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago