提交 8b984005 编写于 作者: C Catouse

* updated document.

 * added statistics code to document.
上级 3baa4df0
......@@ -340,7 +340,7 @@ $('table.datatable').datatable(
// ...
}
});</code></pre>
<h5>使用jQuery方法绑定事件</h5>
<h5>使用jQuery方法绑定事件处理函数</h5>
<pre class='prettyprint'><code>$(&#39;table.datatable&#39;).datatable().on("sort.zui.datatable", function(event)
{
console.log(event);
......
......@@ -91,5 +91,16 @@ base_url: "./"
<script src="dist/js/zui.js"></script>
<script src="assets/google-code-prettify/prettify.js"></script>
<script src="docs/js/doc.js"></script>
<script src="http://s95.cnzz.com/stat.php?id=1253026255&web_id=1253026255"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-53781622-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册