nativescript-effects
Advanced tools
Comparing version 0.2.3 to 0.2.4
{ | ||
"name": "nativescript-effects", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"main": "tns-effects.js", | ||
@@ -5,0 +5,0 @@ "description": "A NativeScript plugin that extend animations to include common animation scenarios.", |
@@ -41,2 +41,3 @@ //nativescript-effects | ||
var msDuration = Effects.getMsValue(duration); | ||
this.visibility = enums.Visibility.visible; | ||
return this.animate({ | ||
@@ -61,2 +62,3 @@ opacity: 1, | ||
var msDuration = Effects.getMsValue(duration); | ||
this.visibility = enums.Visibility.visible; | ||
return this.animate({ | ||
@@ -85,2 +87,3 @@ opacity: opacity, | ||
var msDuration = Effects.getMsValue(duration); | ||
this.visibility = enums.Visibility.visible; | ||
var dir = Effects.presetDirections[direction]; | ||
@@ -157,2 +160,3 @@ if (!dir) { | ||
var msDuration = Effects.getMsValue(duration); | ||
this.visibility = enums.Visibility.visible; | ||
@@ -159,0 +163,0 @@ this.translateY = distance; |
20851
341