@wizpanda/super-gif
Advanced tools
Comparing version 0.0.3 to 0.0.5
@@ -7,2 +7,3 @@ export declare class SuperGif { | ||
private loading; | ||
private ready; | ||
private transparency; | ||
@@ -64,2 +65,3 @@ private delay; | ||
isLoading(): boolean; | ||
isReady(): boolean; | ||
isAutoPlay(): any; | ||
@@ -66,0 +68,0 @@ getLength(): number; |
@@ -13,2 +13,3 @@ "use strict"; | ||
this.loading = false; | ||
this.ready = false; | ||
this.transparency = null; | ||
@@ -46,2 +47,3 @@ this.delay = null; | ||
_this.loading = false; | ||
_this.ready = true; | ||
if (_this.loadCallback) { | ||
@@ -325,2 +327,5 @@ _this.loadCallback(_this.gifImgElement); | ||
}; | ||
SuperGif.prototype.isReady = function () { | ||
return this.ready; | ||
}; | ||
SuperGif.prototype.isAutoPlay = function () { | ||
@@ -327,0 +332,0 @@ return this.options.autoPlay; |
{ | ||
"name": "@wizpanda/super-gif", | ||
"version": "0.0.3", | ||
"version": "0.0.5", | ||
"description": "GIF parser & player in Typescript to work with node_modules (converted from https://github.com/buzzfeed/libgif-js)", | ||
@@ -5,0 +5,0 @@ "main": "dist/super-gif.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65728
834