Browse Source

Update docs

djhvscf 5 years ago
parent
commit
a9d1d8e44f
1 changed files with 4 additions and 0 deletions
  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, ...) {
   // ...
 })