App-Netdisco
view release on metacpan or search on metacpan
share/public/javascripts/jquery.floatThead.js view on Meta::CPAN
}
triggerFloatEvent(false);
if(canObserveMutations){
mObs.disconnect();
mObs = null;
}
$table.off('reflow reflowed');
$scrollContainer.off(ns);
$responsiveContainer.off(ns);
if (wrappedContainer) {
if ($scrollContainer.length) {
$scrollContainer.unwrap();
}
else {
$table.unwrap();
}
}
if(locked){
$scrollContainer.data('floatThead-containerWrap', false);
} else {
$table.data('floatThead-containerWrap', false);
}
$table.css('minWidth', originalTableMinWidth);
$floatContainer.remove();
$table.data('floatThead-attached', false);
$window.off(ns);
$window.off('fth-beforeprint fth-afterprint'); // Not bound with id, so cant use ns.
if (matchMediaPrint) {
matchMediaPrint.removeListener(printEvent);
}
beforePrint = afterPrint = function(){};
return function reinit(){
return $table.floatThead(opts);
}
},
reflow: function(){
reflowEvent();
},
setHeaderHeight: function(){
setHeaderHeight();
},
getFloatContainer: function(){
return $floatContainer;
},
getRowGroups: function(){
if(headerFloated){
return $floatContainer.find('>table>thead').add($table.children("tbody,tfoot"));
} else {
return $table.children("thead,tbody,tfoot");
}
}
});
});
return this;
};
})((function(){
var $ = window.jQuery;
if(typeof module !== 'undefined' && module.exports && !$) {
// only use cjs if they dont have a jquery for me to use, and we have commonjs
$ = require('jquery');
}
return $;
})());
( run in 1.076 second using v1.01-cache-2.11-cpan-744e820c463 )