<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>Statistic Example</title>
<script type="text/javascript">
// 监听plusready事件
document.addEventListener( "plusready", function(){
// 扩展API加载完毕,现在可以正常调用扩展API
}, false );
function feedback() {
var start = new Date();
// Do something for feedback
var end = new Date();
var d = end.getTime() - start.getTime();
plus.statistic.duration( "feedback", d );
}
</script>
</head>
<body>
<button onclick="feedback();">feedback</button>
</body>
</html>
飞向月球8
- 发布:2016-02-26 17:46
- 更新:2016-02-26 19:58
- 阅读:1229
html5+ api错误反馈
分类:HTML5+
1 个回复
不知道
什么意思,没明白。