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.
2 lines
776 B
JavaScript
2 lines
776 B
JavaScript
/*! © SpryMedia Ltd, Matthew Hasbach - datatables.net/license */
|
|
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;$(document).on("init.dt",function(a,e){var t,n,s;"dt"===a.namespace&&(a=e.oInit.conditionalPaging||DataTable.defaults.conditionalPaging,$.isPlainObject(a)||!0===a)&&(t=$.isPlainObject(a)?a:{},n=new DataTable.Api(e),s=500,void 0!==t.speed&&(s=t.speed),(a=function(a){var e=$(n.table().container()).find("div.dataTables_paginate"),i=n.page.info().pages;a instanceof $.Event?i<=1?"fade"===t.style?e.stop().fadeTo(s,0):e.css("visibility","hidden"):"fade"===t.style?e.stop().fadeTo(s,1):e.css("visibility",""):i<=1&&("fade"===t.style?e.css("opacity",0):e.css("visibility","hidden"))})(null),n.on("draw.dt",a))});export default DataTable; |