Socket
Socket
Sign inDemoInstall

mobile-navigation-controller

Package Overview
Dependencies
8
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.2 to 1.3.3

15

dist/index.js

@@ -215,2 +215,15 @@ "use strict";

var aniTime = 250;
if (this.props.children.filter(function (x) {
return x.key === goToPage;
}).length > 0) {
if (this.props.children.filter(function (x) {
return x.key === goToPage;
})[0].props.animationTimeInMS) aniTime = this.props.children.filter(function (x) {
return x.key === goToPage;
})[0].props.animationTimeInMS;
} else {
if (this.props.animationTimeInMS) aniTime = this.props.animationTimeInMS;
}
options = options === undefined ? [] : options;

@@ -224,3 +237,3 @@

_options$timeAnimatio = _options.timeAnimationInMS,
timeAnimationInMS = _options$timeAnimatio === undefined ? 250 : _options$timeAnimatio,
timeAnimationInMS = _options$timeAnimatio === undefined ? aniTime : _options$timeAnimatio,
_options$animationOut = _options.animationOut,

@@ -227,0 +240,0 @@ animationOut = _options$animationOut === undefined ? this.swipeRight ? "slideOutRight" : this.componentTransitionOut[fromPage] ? this.componentTransitionOut[fromPage].animatioPageOut ? this.componentTransitionOut[fromPage].animatioPageOut : null : null : _options$animationOut,

2

package.json
{
"name": "mobile-navigation-controller",
"version": "1.3.2",
"version": "1.3.3",
"description": "Navigator for JavaScript mobile app, This will help you to manage your pages history in the app and change pages with animation.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -19,2 +19,9 @@ # mobile-navigation-controller

levelPage={1}
transitionIn={
animatioPageIn:"fadeInRight"
,animatioPageOut:"fadeOutRight"
}
transitionOut={{
animatioPageOut: "fadeOutRight"
}}
/>

@@ -21,0 +28,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc