Giter Site home page Giter Site logo

container default value about xscroll HOT 4 CLOSED

lichunqiang avatar lichunqiang commented on June 27, 2024
container default value

from xscroll.

Comments (4)

huxiaoqi567 avatar huxiaoqi567 commented on June 27, 2024

不是很明白你的意思,能具体点么?

from xscroll.

lichunqiang avatar lichunqiang commented on June 27, 2024
<div class="xs-plugin-pullup-container xs-plugin-pullup-up" style="position: absolute; width: 100%; height: 40px; bottom: -40px; text-align: center;">Pull Up To Refresh</div>

初始化之后这里面有个默认值,可不可以配置为空呢,因为当页面数据多的时候还好,在屏幕外,用户看不到,但是只有一条数据的时候,这个却显示在界面上

现在我通过判断数据量,来主动unplug 上拉刷新来让其不显示

不知道知道插件内部做了处理了嘛? 就是可以设置一个默认值,当上拉刷新结束后显示这个默认值(空字符串)

from xscroll.

huxiaoqi567 avatar huxiaoqi567 commented on June 27, 2024

http://xscroll.github.io/node_modules/xscroll/doc/PullUp.html

downContent不知道是否满足你,pullup里有事件,可以自己设置status.

from xscroll.

lichunqiang avatar lichunqiang commented on June 27, 2024

Tanks!

from xscroll.

Related Issues (20)

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.