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