您的位置:首页 > 移动开发

app-framework学习--Scroller

2014-07-22 15:53 477 查看
Scroller

这个插件允许你创建一个可滚动区域。我们使用的JavaScript滚轮,除非该设备支持 - WebKit的溢出卷轴:触摸。它有许多修复Android版<3和iOS原生的滚动。

创建:

属性:

Attributes


方法


事件

Events must be registered on the scroller using $.bind()


CSS/Customize

Below is an example used by App Framework's iOS7 theme to customize the look and feel of the popup


Examples

在HTML 中添加

js中创建

调用方法

从缓存中获取滚动条


Pull to refresh

下面是如何结合事件和执行下拉刷新的例子


infinite scrolling

The following shows how to implement infinite scrolling.

有什么问题可以联系我

官网链接:http://app-framework-software.intel.com/api.php#scroller

欢迎加入学习交流群:333492644
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: