【文件属性】:
文件名称:apng-canvas-with-controller:apng-canvas-with-controller
文件大小:312KB
文件格式:ZIP
更新时间:2021-06-01 18:36:31
JavaScript
APNG-canvas-with-controller
APNG-canvas-with-controller 是控制 apng 的库,它基于 ( )。
应用程序接口
ani.stop()
动画播放()
ani.goto()
ani.playto()
使用示例
APNG . ifNeeded ( function ( ) {
for ( var i = 0 ; i < document . images . length ; i ++ ) {
var img = document . images [ i ] ;
if ( / \. png $ / i . test ( img . src ) ) {
var apng = APNG . animateImage ( img ) ;
apng . done ( function ( ani ) {
【文件预览】:
apng-canvas-with-controller-master
----index.html(3KB)
----README_RU.md(6KB)
----minify(245B)
----src()
--------crc32.js(644B)
--------apng-canvas.js(21KB)
--------udeferred.js(4KB)
----test.png(299KB)
----LICENSE(1KB)
----README.md(5KB)