Giter VIP home page Giter VIP logo

Comments (5)

yujinjin avatar yujinjin commented on August 20, 2024

HI, 请把事件绑定的代码贴一下!
事件的绑定方式是:<list-pull-loading @scroll="scrolling" ..>
@qq865738120

from list-pull-loading.

qq865738120 avatar qq865738120 commented on August 20, 2024

我是这么写的,也许是我项目哪里有问题。不过还是建议把api文档稍微完善一下,不写的话还得去看源码才知道。建议把上拉加载和下拉刷新都提供个接口,我相信这部分需求也是不少的,特别是下拉刷新很多时候是不需要的。

from list-pull-loading.

qq865738120 avatar qq865738120 commented on August 20, 2024

建议可以使用finger-mover把项目重构下,这样你的源码会更简洁 @yujinjin

from list-pull-loading.

yujinjin avatar yujinjin commented on August 20, 2024

@qq865738120 谢谢你的建议,我会认真考虑的!
下拉刷新如果不需要,需配置down: false
上拉加载和下拉刷新可以用一个接口有传值(isLoadingMore:是否是重新加载),而具体用什么接口实现由业务场景自己来判断。
抱歉,应该是我的文档不够完善导致了你的困惑!

from list-pull-loading.

qq865738120 avatar qq865738120 commented on August 20, 2024

那我明白了,确实是文档没写好。

from list-pull-loading.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.