MCPcopy Create free account
hub / github.com/blockstrap/framework / _fnCallbackFire

Function _fnCallbackFire

blockstrap/js/dependencies/tables.js:4982–4997  ·  view source on GitHub ↗

* Fire callback functions and trigger events. Note that the loop over the * callback array store is done backwards! Further note that you do not want to * fire off triggers in time sensitive applications (for example cell creation) * as its slow. * @param {object} settings dataTables settin

( settings, callbackArr, event, args )

Source from the content-addressed store, hash-verified

4980 * @memberof DataTable#oApi
4981 */
4982 function _fnCallbackFire( settings, callbackArr, event, args )
4983 {
4984 var ret = [];
4985
4986 if ( callbackArr ) {
4987 ret = $.map( settings[callbackArr].slice().reverse(), function (val, i) {
4988 return val.fn.apply( settings.oInstance, args );
4989 } );
4990 }
4991
4992 if ( event !== null ) {
4993 $(settings.nTable).trigger( event+'.dt', args );
4994 }
4995
4996 return ret;
4997 }
4998
4999
5000 function _fnLengthOverflow ( settings )

Callers 13

_fnAdjustColumnSizingFunction · 0.85
_fnCreateTrFunction · 0.85
_fnDrawFunction · 0.85
_fnBuildAjaxFunction · 0.85
_fnFilterCompleteFunction · 0.85
_fnInitCompleteFunction · 0.85
_fnLengthChangeFunction · 0.85
_fnPageChangeFunction · 0.85
_fnProcessingDisplayFunction · 0.85
_fnSaveStateFunction · 0.85
_fnLoadStateFunction · 0.85
tables.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected