wenzhixin 10 years ago
parent
commit
775dac2d45
1 changed files with 13 additions and 0 deletions
  1. 13 0
      docs/_i18n/en/documentation/events.md

+ 13 - 0
docs/_i18n/en/documentation/events.md

@@ -2,6 +2,19 @@
 
 ---
 
+To use evnet syntax: 
+```js
+$('#table').bootstrapTable({
+    onEventName: function (arg1, arg2, ...) {
+        // ...
+    }
+});
+
+$('#table').on('event-name.bs.table', function (e, arg1, arg2, ...) {
+    // ...
+});
+```
+
 <table class="table"
        id="e"
        data-search="true"