Socket
Socket
Sign inDemoInstall

mobile-select

Package Overview
Dependencies
0
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

10

mobile-select.js

@@ -19,3 +19,3 @@ /*!

this.displayJson = [];
this.curValue = null;
this.curValue = [];
this.curIndexArr = [];

@@ -39,2 +39,6 @@ this.cascade = false;

var _this = this;
if(config.wheels[0].data.length==0){
console.error('mobileSelect has been successfully installed, but the data is empty and cannot be initialized.');
return false;
}
_this.keyMap = config.keyMap ? config.keyMap : {id:'id', value:'value', childs:'childs'};

@@ -57,2 +61,3 @@ _this.checkDataType();

_this.callback = config.callback || function(){};
_this.cancel = config.cancel || function(){};
_this.transitionEnd = config.transitionEnd || function(){};

@@ -89,2 +94,3 @@ _this.onShow = config.onShow || function(){};

_this.hide();
_this.cancel(_this.curIndexArr, _this.curValue);
});

@@ -114,2 +120,3 @@

_this.hide();
_this.cancel(_this.curIndexArr, _this.curValue);
});

@@ -392,3 +399,2 @@ _this.popUp.addEventListener('click',function(){

},
reRenderWheels: function(){

@@ -395,0 +401,0 @@ var _this = this;

2

package.json
{
"name": "mobile-select",
"version": "1.1.1",
"version": "1.1.2",
"description": "A multi-function mobile phone scrolling selector, support single to multi-select, support multi-level cascade, provide custom callback function, provide update function redraw, relocation function, compatible pc drag and so on.",

@@ -5,0 +5,0 @@ "keywords": [

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