nativescript-slides
Advanced tools
Comparing version 2.1.6 to 2.2.0
@@ -61,2 +61,3 @@ import { AbsoluteLayout } from 'ui/layouts/absolute-layout'; | ||
setActivePageIndicator(index: number): void; | ||
iosProperty(theClass: any, theProperty: any): any; | ||
} |
@@ -543,2 +543,10 @@ "use strict"; | ||
}; | ||
SlideContainer.prototype.iosProperty = function (theClass, theProperty) { | ||
if (typeof theProperty === "function") { | ||
return theProperty.call(theClass); | ||
} | ||
else { | ||
return theProperty; | ||
} | ||
}; | ||
SlideContainer.START_EVENT = 'start'; | ||
@@ -545,0 +553,0 @@ SlideContainer.CHANGED_EVENT = 'changed'; |
@@ -600,2 +600,12 @@ require("nativescript-dom"); | ||
} | ||
iosProperty(theClass, theProperty) { | ||
if (typeof theProperty === "function") { | ||
// xCode 7 and below | ||
return theProperty.call(theClass); | ||
} else { | ||
// xCode 8+ | ||
return theProperty; | ||
} | ||
} | ||
} |
{ | ||
"name": "nativescript-slides", | ||
"version": "2.1.6", | ||
"version": "2.2.0", | ||
"description": "NativeScript Slides plugin.", | ||
@@ -8,7 +8,7 @@ "main": "nativescript-slides.js", | ||
"platforms": { | ||
"android": "2.0.0", | ||
"ios": "2.0.0" | ||
"android": "2.3.0", | ||
"ios": "2.3.0" | ||
}, | ||
"tns-ios": { | ||
"version": "2.0.1" | ||
"version": "2.3.0" | ||
} | ||
@@ -15,0 +15,0 @@ }, |
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
70847
1289