All Projects → falstack → h5-vue-scroller

falstack / h5-vue-scroller

Licence: MIT license
inspired by iNoBounce, stop your iOS webapp from bouncing around when scrolling and more.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to h5-vue-scroller

V Bar
The virtual responsive crossbrowser scrollbar component for VueJS 2x
Stars: ✭ 216 (+620%)
Mutual labels:  scroll
Moveto
A lightweight scroll animation javascript library without any dependency
Stars: ✭ 2,746 (+9053.33%)
Mutual labels:  scroll
JhScrollActionSheetView
JhScrollActionSheetView - UIcollectionView横向滚动,类似微博新版的详情页分享界面,可设置单排或双排显示,title不设置不显示title,如果想实现发送站内用户的功能,自己可以改一下代码
Stars: ✭ 13 (-56.67%)
Mutual labels:  scroll
React Native Swiper Flatlist
👆 Swiper component implemented with FlatList using Hooks & Typescript + strict automation tests with Detox
Stars: ✭ 217 (+623.33%)
Mutual labels:  scroll
Vue Scroll
Scroll directive on vue
Stars: ✭ 238 (+693.33%)
Mutual labels:  scroll
mobile-scroll-events
📜 移动端滚动事件大起底!
Stars: ✭ 51 (+70%)
Mutual labels:  scroll-events
Scroll
Static publishing software with a newspaper feel built on Tree Notation. Scroll is public domain software.
Stars: ✭ 206 (+586.67%)
Mutual labels:  scroll
scroll-sync-react
A scroll syncing library for react that is up to date
Stars: ✭ 49 (+63.33%)
Mutual labels:  scroll
React Scroll Sync
Synced scroll position across multiple scrollable elements
Stars: ✭ 252 (+740%)
Mutual labels:  scroll
RollingNotice-Swift
滚动公告、广告,支持灵活自定义cell。淘宝、口碑、京东、美团、天猫等等一切滚动广告 Roll Notice or Advertising, customize cell as UITableViewCell supported, Swift version is also ready
Stars: ✭ 109 (+263.33%)
Mutual labels:  scroll
React World
✨🌌 A different web experience in 8 bit React.js World
Stars: ✭ 230 (+666.67%)
Mutual labels:  scroll
Vegascroll
↕️ VegaScroll is a lightweight animation flowlayout for UICollectionView completely written in Swift 4, compatible with iOS 11 and Xcode 9.
Stars: ✭ 2,647 (+8723.33%)
Mutual labels:  scroll
QuickTraceiOSLogger
A real time iOS log trace tool, view iOS log with pc web browser under local area network, which will automatically scroll like xcode. 一个实时的iOS日志跟踪工具,在局域网中使用 PC Web 浏览器查看 iOS 日志,它将像xcode一样自动滚动。
Stars: ✭ 16 (-46.67%)
Mutual labels:  scroll
React Native Stretchy
🤸‍♀️A ReactNative scrollable stretchy header component
Stars: ✭ 216 (+620%)
Mutual labels:  scroll
react-auto-scroll
Automatically scroll an element to the bottom
Stars: ✭ 28 (-6.67%)
Mutual labels:  scroll
React Native Text Ticker
React Native Text Ticker/Marquee Component
Stars: ✭ 212 (+606.67%)
Mutual labels:  scroll
react-is-scrolling
Simply detect if users are scrolling in your components in a declarative API
Stars: ✭ 17 (-43.33%)
Mutual labels:  scroll
any-scroll
🚀 模拟scrollview, 支持pc/移动端, 让实现Tab/Slider等组件轻而易举.
Stars: ✭ 45 (+50%)
Mutual labels:  scroll
react-shadow-scroll
Component that customizes the list and inserts shadow when scrolling exists
Stars: ✭ 28 (-6.67%)
Mutual labels:  scroll
scrollRulerView
请使用 CYRuler (Please use CYRuler)
Stars: ✭ 31 (+3.33%)
Mutual labels:  scroll

Welcome to h5-vue-scroller 👋

🏠 Homepage

Install

npm i h5-vue-scroller
or 
yarn add h5-vue-scroller

Usage

import Vue from 'vue'
import VScroller from 'h5-vue-scroller'
Vue.component(VScroller.name, VScroller)
<v-scroller
  tag="ul"
  :preload-top="50"
  :preload-bottom="50"
  :throttle="0"
  :event-step="1"
  @top="handleScrollTop"
  @bottom="handleLoadMore"
  @refresh="handleRefresh({ offset, event })"
  @refresh-end="handleRefreshEnd"
  @scroll="handleScroll({ offsetTop, isUp })"
>
  <slot/>
</v-scroller>

Props

  • preload-top:触发 top 的距离(px),默认50
  • preload-bottom:触发 bottom 的距离(px),默认50
  • throttle: 事件派发的频率,默认0不限流,如果设置为 < 0,则不派发事件
  • tag:指定容器的元素,默认是div
  • event-step:事件触发的步长(px),大于这个步长才会 emittop第一次refresh 事件

Events

  • void @top:滚动到屏幕顶部
  • void @bottom:滚动到屏幕底部
  • object<{ offsetTop, isUp }> @scroll 正在滚动
  • object<{ offset, event }> @refresh 下拉刷新
  • void @refresh-end:下拉刷新松手

Author

👤 falstack [email protected]

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

License

MIT license.


This README was generated with ❤️ by readme-md-generator

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].