You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*! © SpryMedia Ltd, Matthew Hasbach - datatables.net/license */
|
|
|
|
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;$(document).on("init.dt",function(a,i){var t,n,d;"dt"===a.namespace&&(a=i.oInit.conditionalPaging||DataTable.defaults.conditionalPaging,$.isPlainObject(a)||!0===a)&&(t=$.isPlainObject(a)?a:{},n=new DataTable.Api(i),d=500,void 0!==t.speed&&(d=t.speed),(a=function(a){var i=$(n.table().container()).find("div.dt-paging"),e=n.page.info().pages;a instanceof $.Event?e<=1?"fade"===t.style?i.stop().fadeTo(d,0):i.css("visibility","hidden"):"fade"===t.style?i.stop().fadeTo(d,1):i.css("visibility",""):e<=1&&("fade"===t.style?i.css("opacity",0):i.css("visibility","hidden"))})(null),n.on("draw.dt",a))});export default DataTable;
|