浏览代码

Update docs

djhvscf 5 年之前
父节点
当前提交
a9d1d8e44f
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      site/docs/api/events.md

+ 4 - 0
site/docs/api/events.md

@@ -9,12 +9,16 @@ toc: true
 To use event syntax:
 
 {% highlight html %}
+// Here you can expect to have as last parameter the boostrap-table object
+
 $('#table').bootstrapTable({
   onEventName: function (arg1, arg2, ...) {
     // ...
   }
 })
 
+// Here you can expect to have in the 'e' variable the sender property which is the boostrap-table object
+
 $('#table').on('event-name.bs.table', function (e, arg1, arg2, ...) {
   // ...
 })