first commit

This commit is contained in:
dev-chiefworks
2022-05-31 16:21:53 -04:00
commit f76abffdcd
5978 changed files with 1078901 additions and 0 deletions
@@ -0,0 +1,49 @@
/* ------------------------------------------------------------------------------
*
* # Responsive tables
*
* Demo JS code for table_responsive.html page
*
* ---------------------------------------------------------------------------- */
// Setup module
// ------------------------------
var TableFootable = function() {
//
// Setup module components
//
// Default file input style
var _componentFootable = function() {
if (!$().footable) {
console.warn('Warning - footable.min.js is not loaded.');
return;
}
// Initialize responsive functionality
$('.table-togglable').footable();
};
//
// Return objects assigned to module
//
return {
init: function() {
_componentFootable();
}
}
}();
// Initialize module
// ------------------------------
document.addEventListener('DOMContentLoaded', function() {
TableFootable.init();
});