@pernod-ricard-global-cms/jsanimations
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -1,2 +0,2 @@ | ||
export function fadeIn(element, time = 1000, opacity = 1) { | ||
export function fadeIn(element, time = 300, opacity = 1) { | ||
return element.animate( | ||
@@ -18,3 +18,3 @@ [ | ||
} | ||
export function fadeOut(element, time = 1000, opacity = 0) { | ||
export function fadeOut(element, time = 300, opacity = 0) { | ||
return element.animate( | ||
@@ -21,0 +21,0 @@ [ |
{ | ||
"name": "@pernod-ricard-global-cms/jsanimations", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Handy collection of Javascript animations all based on the web animations api", | ||
@@ -5,0 +5,0 @@ "type": "module", |
39835