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

nuke-scroll-view

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-scroll-view - npm Package Compare versions

Comparing version 0.0.3 to 1.0.0

6

docs/basic.md

@@ -69,4 +69,4 @@ # ScrollView demo

<ScrollView ref="vscroller" style={styles.vscroller} onEndReachedThreshold={20} onEndReached={this.loadmore}>
<RefreshControl refreshing={this.state.isRefreshing} style={[styles.itemRefresh]} onRefresh={this.handleRefresh}>
<Text style={{fontSize:"28rem",color:"#3089dc"}}>{this.state.refreshText}</Text>
<RefreshControl JDYHeaderStyle="endAnamtionStyle" refreshing={this.state.isRefreshing} style={[styles.itemRefresh]} onRefresh={this.handleRefresh}>
</RefreshControl>

@@ -85,3 +85,3 @@ {this.getViews()}

width:750,
height:100,
height:200,
alignItems:'center',

@@ -88,0 +88,0 @@ justifyContent:'center',

@@ -18,3 +18,3 @@ # ScrollView demo 事件

import Modal from 'nuke-modal';
import BizPage from 'nuke-biz-page';
import Page from 'nuke-page';

@@ -41,2 +41,5 @@ let App = class NukeDemoIndex extends Component {

}
scrollHandler=(e)=>{
console.log(e);
}
reset = ()=>{

@@ -52,5 +55,5 @@

return (
<BizPage title="ScrollView">
<BizPage.Intro main="events"></BizPage.Intro>
<ScrollView ref="scroller1" style={styles.scroller} disabledPtr={true} onEndReachedThreshold={20} onEndReached={this.loadmore}>
<Page title="ScrollView">
<Page.Intro main="events"></Page.Intro>
<ScrollView onScroll={this.scrollHandler} ref="scroller1" style={styles.scroller} disabledPtr={true} onEndReachedThreshold={20} onEndReached={this.loadmore}>
{this.getViews()}

@@ -62,3 +65,3 @@ </ScrollView>

</Button.Group>
</BizPage>
</Page>
)

@@ -65,0 +68,0 @@ }

# Changelog
## 1.0.0 / 2017-11-04
* [[1eadac1](http://gitlab.alibaba-inc.com/nuke/scroll-view/commit/1eadac196df8cd5bdf290fa34a63ac58d561296d)] - `feat` view dependency update
## 0.0.3 / 2017-06-16

@@ -5,0 +9,0 @@

@@ -227,6 +227,8 @@ 'use strict';

if (childLayoutProps.length !== 0) {}
if (childLayoutProps.length !== 0) {
console.warn('ScrollView child layout (' + JSON.stringify(childLayoutProps) + ') must be applied through the contentContainerStyle prop.');
}
}
var refreshContainer = _rax.createElement(_nukeView2.default, null),
var refreshContainer = (0, _rax.createElement)(_nukeView2.default, null),
contentChild = void 0;

@@ -246,3 +248,3 @@ if (Array.isArray(children)) {

var contentContainer = _rax.createElement(
var contentContainer = (0, _rax.createElement)(
_nukeView2.default,

@@ -262,3 +264,3 @@ {

if (isWeex) {
return _rax.createElement(
return (0, _rax.createElement)(
'scroller',

@@ -303,3 +305,3 @@ _extends({}, this.props, {

if (this.props.disabledPtr) {
return _rax.createElement(
return (0, _rax.createElement)(
_nukeView2.default,

@@ -310,3 +312,3 @@ webProps,

}
return _rax.createElement(
return (0, _rax.createElement)(
_nukeView2.default,

@@ -313,0 +315,0 @@ webProps,

{
"name": "nuke-scroll-view",
"version": "0.0.3",
"version": "1.0.0",
"description": "滚动组件",

@@ -48,9 +48,9 @@ "main": "lib/index",

"hammerjs": "^2.0.8",
"nuke-env": "^0.x.x",
"nuke-refresh-control": "^0.x.x",
"nuke-view": "^0.x.x"
"nuke-env": "^1.x.x",
"nuke-refresh-control": "^1.x.x",
"nuke-view": "^1.x.x"
},
"devDependencies": {
"nuke-biz-page": "^0.0.7",
"nuke-button": "^0.x.x",
"nuke-page": "^1.x.x",
"nuke-button": "^1.x.x",
"nuke-modal": "^0.x.x",

@@ -57,0 +57,0 @@ "nuke-text": "^0.x.x"

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