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

refresh 可以实现仅click时加载数据吗? #217

Open
sxyengene opened this issue Dec 18, 2014 · 1 comment
Open

refresh 可以实现仅click时加载数据吗? #217

sxyengene opened this issue Dec 18, 2014 · 1 comment

Comments

@sxyengene
Copy link

我表述不行,贴代码。
$ele.refresh({
load:function(dir,type){
if(type=="click"){
$.ajax
}else{
//不加载,此时应该写什么。如果写me.afterDataLoading(dir)的话,控件就不能在当前的dir方向上进行加载了
}
}
});

@sxyengene
Copy link
Author

忘了讲,我用的iscroll版的

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

1 participant