UNPKG

datatables.net-buttons-zf

Version:

Buttons for DataTables with styling for [Foundation](https://get.foundation/)

4 lines 1.43 kB
/*! Buttons Foundation styling 4.0.1 for DataTables * Copyright (c) SpryMedia Ltd - datatables.net/license */ (n=>{var o;"function"==typeof define&&define.amd?define(["datatables.net-zf","datatables.net-buttons"],function(t){return n(window,document,t)}):"object"==typeof exports?(o=function(t){t.DataTable||require("datatables.net-zf")(t),window.DataTable.Buttons||require("datatables.net-buttons")(t)},"undefined"==typeof window?module.exports=function(t){return t=t||window,o(t),n(0,t.document,t.DataTable)}:(o(window),module.exports=n(window,window.document,window.DataTable))):n(window,document,window.DataTable)})(function(t,n,o){var a=o.Dom;return o.util.object.assignDeep(o.Buttons.defaults,{dom:{container:{tag:"div",className:"dt-buttons button-group"},button:{tag:"a",className:"dt-button button small",active:"secondary active"},collection:{button:{tag:"li",className:"dt-button",active:"dt-button-active-a",liner:{tag:"a"}},container:{tag:"div",className:"dt-button-collection",content:{tag:"ul",className:"dropdown menu is-dropdown-submenu"}}},split:{action:{tag:"button",className:"button small"},dropdown:{tag:"button",className:"button arrow-only"},wrapper:{tag:"div",className:"button-group dt-button-split"}}}}),a.s(n).on("buttons-popover.dt",function(){var n=!1;a.s(".dtsp-panesContainer").each(function(t){a.s(t).is("button")||(n=!0)}),n&&a.s(".dtsp-panesContainer").classRemove("button-group stacked")}),o});