Skip to content

Commit 538464e

Browse files
committed
Merge pull request wenzhixin#153 from cokert/patch-3
Update examples.html
2 parents 4d1e1c2 + 7910c9e commit 538464e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/examples.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -953,9 +953,12 @@ <h1 id="table-methods" data-zh="表格方法">Table methods</h1>
953953
$('#get-data').click(function () {
954954
alert('current data: ' + JSON.stringify($table.bootstrapTable('getData')));
955955
});
956-
// This demonstrates utilizing the data-method attribute to use one jQuery handler to execute multiple methods
957-
// ($this).data('method') retrieves the value of the data-method attribute of the object that was clicked
958-
// which is then passed to the bootstrapTable function. Only the load and append methods require a parameter
956+
// This demonstrates utilizing the data-method attribute to use one
957+
// jQuery handler to execute multiple methods.
958+
// ($this).data('method') retrieves the value of the data-method
959+
// attribute of the object that was clicked which is then passed to
960+
// the bootstrapTable function.
961+
// Only the load and append methods require a parameter
959962
$('#load-data, #append-data, #check-all, #uncheck-all, ' +
960963
'#show-loading, #hide-loading').click(function () {
961964
$table.bootstrapTable($(this).data('method'), getRows());

0 commit comments

Comments
 (0)