1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-09 01:12:38 +02:00

Updated 1.10 Status bar (markdown)

koalyptus 2017-04-12 03:00:03 +10:00
parent 135b6f69dd
commit 2dc5ccdcad

@ -83,17 +83,33 @@
<td><code>var tfConfig = { msg_change_results: 'Calculating results
per page...' }</code></td>
</tr>
<tr>
<th>msg_load_extensions</th>
<td>string</td>
<td>text to display when the extensions are loaded
(default - 'Loading extensions...')</td>
<td></td>
<td><code>var tfConfig = { msg_load_extensions: 'Importing extensions...' }</code></td>
</tr>
<tr>
<th>msg_load_themes</th>
<td>string</td>
<td>text to display when themes are loaded
(default - 'Loading theme(s)...')</td>
<td></td>
<td><code>var tfConfig = { msg_load_themes: 'Importing styles...' }</code></td>
</tr>
<tr>
<th>on_before_show_msg</th>
<td>function</td>
<td>callback fired before a status message appears</td>
<td>note that 2 parameters are passed to the callback function:
<ul>
<li>o is the current TableFilter instance</li>
<li>tf is the current TableFilter instance</li>
<li>msg: the message string</li>
</ul>
</td>
<td><code>var tfConfig = { on_before_show_msg: function(o, msg){ alert(msg); }}</code></td>
<td><code>var tfConfig = { on_before_show_msg: function(tf, msg){ alert(msg); }}</code></td>
</tr>
<tr>
<th>on_after_show_msg</th>
@ -102,11 +118,11 @@
<td>
note that one parameter is passed to the callback function:
<ul>
<li>o is the current TableFilter instance</li>
<li>tf is the current TableFilter instance</li>
<li>msg: the message string</li>
</ul>
</td>
<td><code>var tfConfig = { on_after_show_msg: function(o, msg){ alert(msg); }}</code></td>
<td><code>var tfConfig = { on_after_show_msg: function(tf, msg){ alert(msg); }}</code></td>
</tr>
</tbody>
</table>