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.2.0 to 1.2.1

10

dist/index.js

@@ -65,3 +65,3 @@ 'use strict';

homePageKey: homePage,
height: _this.props.height === null ? "100%" : _this.props.height,
// height: this.props.height ? this.props.height : "100%",
startPage: startPage,

@@ -351,3 +351,3 @@ mobileMode: mobileMode,

if (child.props.backOnSwipeRight) {
if (e.touches[0].clientX < 40) {
if (e.touches[0].clientX < 0.20 * innerWidth) {
fthis.touchBackPage = nowPage;

@@ -374,3 +374,3 @@ fthis.swipeRight = true;

if (fthis.swipeRight && fthis.state.swipeRight_x > 80) {
if (fthis.swipeRight && fthis.state.swipeRight_x > 0.25 * innerWidth) {

@@ -404,3 +404,3 @@ fthis.callbackFunOnChangePage = function () {

backgroundColor: child.props.backgroundColor ? child.props.backgroundColor : "#fff",
height: child.props.height ? child.props.height : fthis.state.height
height: child.props.height ? child.props.height : fthis.props.height ? _this4.props.height : "100%"
},

@@ -414,3 +414,3 @@ id: child.key, key: child.key, className: fthis.state.startPage === child.key ? "showPage scrollPage" : "hiddenPage" },

backgroundColor: this.props.children.props.backgroundColor ? this.props.children.props.backgroundColor : "#fff",
height: this.props.children.props.height ? this.props.children.props : fthis.state.height
height: this.props.children.props.height ? this.props.children.props : fthis.props.height ? this.props.height : "100%"
},

@@ -417,0 +417,0 @@ id: this.props.children.key, key: this.props.children.key, className: fthis.state.startPage === this.props.children.key ? "showPage scrollPage" : "hiddenPage" },

{
"name": "mobile-navigation-controller",
"version": "1.2.0",
"version": "1.2.1",
"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",

@@ -187,2 +187,3 @@ # mobile-navigation-controller

```
options => { animationIn:integer // have defult , animationOut:string // have defult , timeAnimationInMS:integer // defult=250(ms) , callbackFun:function , props:{...} }

@@ -189,0 +190,0 @@ #### Check if the mangerPages is busy

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