this._footer).getElementsByClassName(
+ SLIDE_INDICATOR_INACTIVE
+ )[index];
+ if (activeIndicator) {
+ activeIndicator.classList.remove(SLIDE_INDICATOR_INACTIVE);
+ activeIndicator.classList.add(SLIDE_INDICATOR_ACTIVE);
+ }
+ }
+
+ iosProperty(theClass, theProperty) {
+ if (typeof theProperty === 'function') {
+ // xCode 7 and below
+ return theProperty.call(theClass);
+ } else {
+ // xCode 8+
+ return theProperty;
+ }
+ }
+}
diff --git a/src/package-lock.json b/src/package-lock.json
new file mode 100644
index 0000000..185670d
--- /dev/null
+++ b/src/package-lock.json
@@ -0,0 +1,40 @@
+{
+ "name": "nativescript-slides",
+ "version": "2.2.12",
+ "lockfileVersion": 1,
+ "requires": true,
+ "dependencies": {
+ "nativescript-dom": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/nativescript-dom/-/nativescript-dom-2.0.2.tgz",
+ "integrity": "sha512-VEY1X10QRZlJEeZUdrwrGoslKqeS03BloaL5OWaXeHmdtmgzaTo3yjIg4ZJOLFWpHme3xAmn+mEn5HLtUJH+NQ=="
+ },
+ "tns-core-modules": {
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/tns-core-modules/-/tns-core-modules-3.4.1.tgz",
+ "integrity": "sha512-sz/yTmoW7WyDPpr4JEC+trlfiEI14X365jGF//tMCT/G6ISzANr43wc17fgbGH1UA1XbKzujbAl0xPNssRHVUA==",
+ "dev": true,
+ "requires": {
+ "tns-core-modules-widgets": "3.4.0"
+ }
+ },
+ "tns-core-modules-widgets": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/tns-core-modules-widgets/-/tns-core-modules-widgets-3.4.0.tgz",
+ "integrity": "sha512-WEtjDRTjjKB+C1NhY1CJSNyhK9DPCYzBgM+yKgq5AmphK/QdQEMAP1U2ttOv8yWWfsvLZGOnzyLCzcyeoG0Gfw==",
+ "dev": true
+ },
+ "tns-platform-declarations": {
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/tns-platform-declarations/-/tns-platform-declarations-3.4.1.tgz",
+ "integrity": "sha512-GCvUvmtZ2Nne9GIppYF5xzUQzYP+KF43R+ce9kFMT1erDP0I6thLrRkLEo8JgAYD7ukMqXAb80MlYMv/VDGSCw==",
+ "dev": true
+ },
+ "typescript": {
+ "version": "2.9.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz",
+ "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==",
+ "dev": true
+ }
+ }
+}
diff --git a/src/package.json b/src/package.json
new file mode 100644
index 0000000..c01271f
--- /dev/null
+++ b/src/package.json
@@ -0,0 +1,79 @@
+{
+ "name": "nativescript-slides",
+ "version": "2.3.0",
+ "description": "NativeScript Slides plugin.",
+ "main": "nativescript-slides",
+ "typings": "nativescript-slides.d.ts",
+ "nativescript": {
+ "platforms": {
+ "android": "5.0.0",
+ "ios": "5.0.0"
+ }
+ },
+ "scripts": {
+ "prepublish": "cp -av ../README.md ./",
+ "build": "tsc",
+ "demo.ios": "npm run preparedemo && cd ../demo && tns run ios",
+ "demo.android": "npm run preparedemo && cd ../demo && tns run android",
+ "preparedemo": "npm run build && cd ../demo && npm install ../src --save",
+ "setup": "npm install && cd ../demo && npm install && cd ../src && npm run build && cd ../demo && npm install ../src && cd ..",
+ "ios": "xcproj --project platforms/ios/YourApp.xcodeproj touch; xcproj --project platforms/ios/Pods/Pods.xcodeproj touch; tns livesync ios --emulator --watch"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/JoshDSommer/nativescript-slides.git"
+ },
+ "keywords": [
+ "NativeScript",
+ "JavaScript",
+ "Android",
+ "iOS",
+ "TypeScript",
+ "swipe slides",
+ "Slides",
+ "Carousel"
+ ],
+ "author": {
+ "name": "Josh Sommer",
+ "email": "joshdsommer@gmail.com"
+ },
+ "contributors": [
+ {
+ "name": "Brad Martin",
+ "email": "bradwaynemartin@gmail.com",
+ "url": "https://github.com/bradmartin"
+ },
+ {
+ "name": "Obsessive Inc/Abhijith Reddy",
+ "email": "mabhijith95a10@gmail.com",
+ "url": "https://github.com/Obsessive"
+ },
+ {
+ "name": "Victor Nascimento",
+ "email": "victormota15@gmail.com",
+ "url": "https://github.com/vjoao"
+ },
+ {
+ "name": "Steve McNiven-Scott",
+ "email": "steve@sitefinitysteve.com",
+ "url": "https://github.com/sitefinitysteve"
+ }
+ ],
+ "bugs": {
+ "url": "https://github.com/JoshDSommer/nativescript-slides/issues"
+ },
+ "license": {
+ "type": "MIT",
+ "url": "https://github.com/JoshDSommer/nativescript-slides/blob/master/LICENSE"
+ },
+ "homepage": "https://github.com/JoshDSommer/nativescript-slides",
+ "readmeFilename": "README.md",
+ "devDependencies": {
+ "typescript": "^2.2.2",
+ "tns-platform-declarations": "^3.0.1",
+ "tns-core-modules": "^3.0.1"
+ },
+ "dependencies": {
+ "nativescript-dom": "^2.0.0"
+ }
+}
diff --git a/tsconfig.json b/src/tsconfig.json
similarity index 100%
rename from tsconfig.json
rename to src/tsconfig.json
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy