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

rox-scrollview

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-scrollview

--- subtitle: 滚动容器 group: Layout ---

  • 0.0.39
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
4
Weekly downloads
 
Created
Source

subtitle: 滚动容器 group: Layout

rox-scrollview

ScrollView 是一个包装了滚动操作的组件。一般情况下需要一个确定的高度来保证 ScrollView 的正常展现。


API

  • 一个包装了滚动操作的组件。一般情况下需要一个确定的高度来保证 ScrollView 的正常展现。

ScrollView

属性说明类型默认值
horizontal是否横向booleanfalse
scrollEventThrottle在滚动过程中,scroll事件被调用的频率(默认值为100),用于滚动的节流number100
showsHorizontalScrollIndicator是否显示水平滚动条booleantrue
showsVerticalScrollIndicator是否显示垂直滚动条booleantrue
onEndReachedThreshold设置加载更多的偏移string500rem
onEndReached滚动到底部时的事件(diff 为 onEndReachedThreshold)event

Keywords

FAQs

Package last updated on 28 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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