nativescript-slides
Advanced tools
Comparing version 2.2.5 to 2.2.6
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ import { AbsoluteLayout } from 'ui/layouts/absolute-layout'; |
@@ -213,5 +213,8 @@ "use strict"; | ||
} | ||
var topOffset = Platform.screen.mainScreen.heightDIPs - 105; | ||
if (_this.pageIndicators) { | ||
_this._footer.marginTop = '88%'; | ||
absolute_layout_1.AbsoluteLayout.setTop(_this._footer, 0); | ||
var pageIndicatorsLeftOffset = _this.pageWidth / 4; | ||
absolute_layout_1.AbsoluteLayout.setLeft(_this._footer, pageIndicatorsLeftOffset); | ||
_this._footer.width = _this.pageWidth / 2; | ||
_this._footer.marginTop = _this._pagerOffset; | ||
} | ||
@@ -218,0 +221,0 @@ _this.positionPanels(_this.currentPanel); |
@@ -225,6 +225,11 @@ require("nativescript-dom"); | ||
} | ||
let topOffset = Platform.screen.mainScreen.heightDIPs - 105; | ||
if (this.pageIndicators) { | ||
this._footer.marginTop = <any>'88%'; | ||
AbsoluteLayout.setTop(this._footer, 0); | ||
var pageIndicatorsLeftOffset = this.pageWidth / 4; | ||
AbsoluteLayout.setLeft(this._footer, pageIndicatorsLeftOffset); | ||
this._footer.width = this.pageWidth / 2; | ||
this._footer.marginTop = <any>this._pagerOffset; | ||
} | ||
this.positionPanels(this.currentPanel); | ||
@@ -231,0 +236,0 @@ }, 0); |
{ | ||
"name": "nativescript-slides", | ||
"version": "2.2.5", | ||
"version": "2.2.6", | ||
"description": "NativeScript Slides plugin.", | ||
@@ -5,0 +5,0 @@ "main": "nativescript-slides.js", |
@@ -198,2 +198,4 @@ # NativeScript Slides for iOS and Android | ||
[Raúl Uranga](https://github.com/rauluranga/) | ||
And thanks to [Nathan Walker](https://github.com/NathanWalker) for setting up the {N} plugin seed that was used to help get this plugin up and running. More info can be found about it here: | ||
@@ -200,0 +202,0 @@ https://github.com/NathanWalker/nativescript-plugin-seed |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
74341
1309
211
11