Socket
Socket
Sign inDemoInstall

rc-pagination

Package Overview
Dependencies
28
Maintainers
2
Versions
201
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

11

lib/Options.js

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

'跳至',
React.createElement('input', { type: 'text', value: props.current, onChange: this._quickGo }),
React.createElement('input', { type: 'text', defaultValue: props.current, onChange: this._quickGo, onKeyUp: this._quickGo }),
'页'

@@ -99,3 +99,10 @@ );

value: function _quickGo(evt) {
this.props.quickGo(Number(evt.target.value));
var ENTER_KEY = 13;
var val = Number(evt.target.value);
this.setState({ value: val });
if (evt.keyCode === ENTER_KEY) {
this.props.quickGo(val);
}
}

@@ -102,0 +109,0 @@ }]);

2

package.json
{
"name": "rc-pagination",
"version": "1.1.2",
"version": "1.1.3",
"description": "pagination ui component for react",

@@ -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