Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-slides

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-slides - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

1

nativescript-slides.d.ts

@@ -42,3 +42,2 @@ import { AbsoluteLayout } from 'ui/layouts/absolute-layout';

private setupDefaultValues();
loaded(): void;
constructView(constructor?: boolean): void;

@@ -45,0 +44,0 @@ nextSlide(): void;

12

nativescript-slides.js

@@ -166,4 +166,2 @@ "use strict";

};
SlideContainer.prototype.loaded = function () {
};
SlideContainer.prototype.constructView = function (constructor) {

@@ -274,3 +272,13 @@ var _this = this;

if (this._slideMap.length > 0 && index < this._slideMap.length) {
var previousSlide = this.currentPanel;
this.setupPanel(this._slideMap[index]);
this.notify({
eventName: SlideContainer.CHANGED_EVENT,
object: this,
eventData: {
direction: direction.none,
newIndex: this.currentPanel.index,
oldIndex: previousSlide.index,
}
});
}

@@ -277,0 +285,0 @@ else {

@@ -165,5 +165,3 @@ require("nativescript-dom");

}
loaded() {
}
public constructView(constructor: boolean = false): void {

@@ -296,3 +294,3 @@ this.on(AbsoluteLayout.loadedEvent, (data: any) => {

eventData: {
direction: direction.left,
direction: direction.none,
newIndex: this.currentPanel.index,

@@ -299,0 +297,0 @@ oldIndex: previousSlide.index,

{
"name": "nativescript-slides",
"version": "2.1.1",
"version": "2.1.2",
"description": "NativeScript Slides plugin.",

@@ -5,0 +5,0 @@ "main": "nativescript-slides.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc