mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-29 11:24:10 +01:00
846c4d9c60
- Some plug-ins would benefit from be able to automatically initialise when a DataTables is constructed, to this end, a construct for static events is added here, with the static function $.fn.dataTable.on() listening for events. Currently only the `construct` method is available, although others could potentially be added in future if they are useful. As such, the code driving it is intentionally simple for this cas,e but the API abstract enough to allow future expansion. - There is no `off()` method, as I'm not sure it would be that useful. Could be added in future if needed!
2 lines
41 B
Plaintext
2 lines
41 B
Plaintext
ddd0e5f5c9509cd8fa5630453cc05c9f68863644
|