mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-01 13:32:40 +02:00
Updated 3.0 Extensions (markdown)
parent
f09fc64d09
commit
9a501d33e9
|
@ -1,4 +1,8 @@
|
|||
<p>
|
||||
Features that are not part of the <code>tablefilter</code> bundle are loaded asynchronously from a separate bundle. The extensions are now stored in the extensions registry. To get the instance of an extension you can use the <code>extension('name')</code> method:
|
||||
<pre>var sort = myTF.extension('sort');</pre>
|
||||
<pre>
|
||||
var tf = new TableFilter('tableId', {
|
||||
extensions: [{ name: 'sort' }]
|
||||
});
|
||||
var sort = tf.extension('sort');</pre>
|
||||
</p>
|
Loading…
Reference in a new issue