nativescript-slides
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -14,2 +14,3 @@ "use strict"; | ||
var gestures = require('ui/gestures'); | ||
var enums_1 = require('ui/enums'); | ||
var Slide = (function (_super) { | ||
@@ -205,2 +206,3 @@ __extends(Slide, _super); | ||
duration: 300, | ||
curve: enums_1.AnimationCurve.spring, | ||
}); | ||
@@ -222,2 +224,3 @@ transition.push({ | ||
duration: 300, | ||
curve: enums_1.AnimationCurve.spring, | ||
}); | ||
@@ -224,0 +227,0 @@ transition.push({ |
@@ -10,2 +10,3 @@ import * as app from 'application'; | ||
import * as gestures from 'ui/gestures'; | ||
import {AnimationCurve} from 'ui/enums'; | ||
@@ -215,2 +216,3 @@ export class Slide extends StackLayout { } | ||
duration: 300, | ||
curve: AnimationCurve.easeIn, ///tweaking these.... | ||
}); | ||
@@ -234,2 +236,3 @@ transition.push({ | ||
duration: 300, | ||
curve: AnimationCurve.easeIn, | ||
}); | ||
@@ -236,0 +239,0 @@ transition.push({ |
{ | ||
"name": "nativescript-slides", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "NativeScript Slides plugin.", | ||
@@ -5,0 +5,0 @@ "main": "nativescript-slides.js", |
@@ -0,1 +1,2 @@ | ||
# NativeScript Slides for iOS and Android | ||
###_The plugin formally known as nativescript-intro-slides_ | ||
@@ -62,3 +63,3 @@ [![Nativescript Slides. Click to Play](https://img.youtube.com/vi/1AatGtPA6J8/0.jpg)](https://www.youtube.com/embed/1AatGtPA6J8) | ||
the `Slides` class also has public `nextSlide` and `previousSlide` functions so you can add your own previous and next buttons as needed. | ||
the `SlideContainer` class also has public `nextSlide` and `previousSlide` functions so you can add your own previous and next buttons as needed. | ||
@@ -65,0 +66,0 @@ the `<Slides:SlideContainer>` element also has a property called `loop` which is a boolean value and if set to true will cause the slide to be an endless loop. The suggested use case would be for a Image Carousel or something of that nature. |
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
40171
724
124