Skip to content

Commit

Permalink
Fix wenzhixin#3223: add body-scroll event docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Dec 13, 2017
1 parent 5389059 commit 7eb44ab
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
6 changes: 6 additions & 0 deletions docs/_i18n/en/documentation/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,5 +245,11 @@ $('#table').on('event-name.bs.table', function (e, arg1, arg2, ...) {
<td>params</td>
<td>Fires after the click the refresh button.</td>
</tr>
<tr>
<td>onScrollBody</td>
<td>scroll-body.bs.table</td>
<td></td>
<td>Fires when table body scroll.</td>
</tr>
</tbody>
</table>
6 changes: 6 additions & 0 deletions docs/_i18n/es/documentation/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,5 +212,11 @@
<td>params</td>
<td>Se ejecuta cuando se cliquea el botón de refresh.</td>
</tr>
<tr>
<td>onScrollBody</td>
<td>scroll-body.bs.table</td>
<td></td>
<td>Incendios cuando desplazamiento del cuerpo de la tabla.</td>
</tr>
</tbody>
</table>
20 changes: 13 additions & 7 deletions docs/_i18n/zh-cn/documentation/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@
<td>sort.bs.table</td>
<td>name, order</td>
<td>
Fires when user sort a column, the parameters contains: <br>
name: the sort column field name<br>
order: the sort column order.
当用户对某列进行排序时触发,参数包括:<br>
name:排序列的 filed 名称,<br>
order:排序顺序。
</td>
</tr>
<tr>
<td>onCheck</td>
<td>check.bs.table</td>
<td>row</td>
<td>
Fires when user check a row, the parameters contains: <br>
row: the record corresponding to the clicked row.
$element: the DOM element checked.
当用户选择某一行时触发,参数包含:<br>
        row:与点击行对应的记录,<br>
        $element:选择的DOM元素。
</td>
</tr>
<tr>
Expand Down Expand Up @@ -223,7 +223,13 @@
<td>onRefresh</td>
<td>refresh.bs.table</td>
<td>params</td>
<td>Fires after the click the refresh button.</td>
<td>点击刷新按钮后触发。</td>
</tr>
<tr>
<td>onScrollBody</td>
<td>scroll-body.bs.table</td>
<td></td>
<td>表格 body 滚动时触发。</td>
</tr>
</tbody>
</table>

0 comments on commit 7eb44ab

Please sign in to comment.