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

rc-pagination

Package Overview
Dependencies
Maintainers
2
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-pagination - npm Package Compare versions

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc