欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

data-pull-scroller

shiping1 的头像

•Ajax - you can add an ajax request into the DOM that will be accessible by the URL referenced by setting the data-persist attribute. You can force a refresh by setting data-refresh-ajax="true". You can also make the scroller "pull to refresh" by setting data-pull-scroller="true"
<a href="http://www.appmobi.com" data-persist="true">AppMobi</a> //Div will be added to the dom
<a href="http://www.appmobi.com" data-persist="true" data-refresh-ajax="true">AppMobi</a> //Everytime the link is clicked, it will fetch the data
<a href="http://www.appmobi.com" data-pull-scroller="true">AppMobi</a> //When the scroller content is pulled down, it will refresh the page

来自 https://forums.html5dev-software.intel.com/viewtopic.php?f=26&t=989
普通分类: