Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container default value #6

Closed
lichunqiang opened this issue May 20, 2016 · 4 comments
Closed

container default value #6

lichunqiang opened this issue May 20, 2016 · 4 comments

Comments

@lichunqiang
Copy link

是否支持状态文字容器默认情况下是空字符串。

现在如果列表有一条数据,这个状态总是显示,体验不是很好。

或者有什么建议嘛

@huxiaoqi567
Copy link
Owner

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

@lichunqiang
Copy link
Author

lichunqiang commented May 25, 2016

<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 上拉刷新来让其不显示

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

@huxiaoqi567
Copy link
Owner

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

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

@lichunqiang
Copy link
Author

Tanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants