datatables.net-buttons-bs4
Advanced tools
Comparing version 1.7.1 to 2.0.0
@@ -55,2 +55,17 @@ /*! Bootstrap integration for DataTables' Buttons | ||
} | ||
}, | ||
splitWrapper: { | ||
tag: 'div', | ||
className: 'dt-btn-split-wrapper btn-group', | ||
}, | ||
splitDropdown: { | ||
tag: 'button', | ||
text: '', | ||
className: 'btn btn-secondary dt-btn-split-drop dropdown-toggle dropdown-toggle-split', | ||
align: 'split-left', | ||
splitAlignClass: 'dt-button-split-left' | ||
}, | ||
splitDropdownButton: { | ||
tag: 'button', | ||
className: 'dt-btn-split-drop-button btn btn-secondary' | ||
} | ||
@@ -57,0 +72,0 @@ }, |
@@ -5,3 +5,4 @@ /*! | ||
*/ | ||
(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-buttons"],function(a){return b(a,window,document)}):"object"===typeof exports?module.exports=function(a,c){a||(a=window);if(!c||!c.fn.dataTable)c=require("datatables.net-bs4")(a,c).$;c.fn.dataTable.Buttons||require("datatables.net-buttons")(a,c);return b(c,a,a.document)}:b(jQuery,window,document)})(function(b){var a=b.fn.dataTable;b.extend(!0,a.Buttons.defaults,{dom:{container:{className:"dt-buttons btn-group flex-wrap"}, | ||
button:{className:"btn btn-secondary"},collection:{tag:"div",className:"dropdown-menu",button:{tag:"a",className:"dt-button dropdown-item",active:"active",disabled:"disabled"}}},buttonCreated:function(a,d){return a.buttons?b('<div class="btn-group"/>').append(d):d}});a.ext.buttons.collection.className+=" dropdown-toggle";a.ext.buttons.collection.rightAlignClassName="dropdown-menu-right";return a.Buttons}); | ||
(function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-buttons"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window);b&&b.fn.dataTable||(b=require("datatables.net-bs4")(a,b).$);b.fn.dataTable.Buttons||require("datatables.net-buttons")(a,b);return c(b,a,a.document)}:c(jQuery,window,document)})(function(c,a,b,f){a=c.fn.dataTable;c.extend(!0,a.Buttons.defaults,{dom:{container:{className:"dt-buttons btn-group flex-wrap"}, | ||
button:{className:"btn btn-secondary"},collection:{tag:"div",className:"dropdown-menu",button:{tag:"a",className:"dt-button dropdown-item",active:"active",disabled:"disabled"}},splitWrapper:{tag:"div",className:"dt-btn-split-wrapper btn-group"},splitDropdown:{tag:"button",text:"",className:"btn btn-secondary dt-btn-split-drop dropdown-toggle dropdown-toggle-split",align:"split-left",splitAlignClass:"dt-button-split-left"},splitDropdownButton:{tag:"button",className:"dt-btn-split-drop-button btn btn-secondary"}}, | ||
buttonCreated:function(e,d){return e.buttons?c('<div class="btn-group"/>').append(d):d}});a.ext.buttons.collection.className+=" dropdown-toggle";a.ext.buttons.collection.rightAlignClassName="dropdown-menu-right";return a.Buttons}); |
@@ -7,3 +7,3 @@ { | ||
"types": "./types/buttons.bootstrap4.d.ts", | ||
"version": "1.7.1", | ||
"version": "2.0.0", | ||
"files": [ | ||
@@ -29,5 +29,5 @@ "css/**/*.css", | ||
"dependencies": { | ||
"jquery": ">=1.7", | ||
"datatables.net-bs4": "^1.10.15", | ||
"datatables.net-buttons": "1.7.1" | ||
"datatables.net-buttons": ">=1.7.1", | ||
"datatables.net-bs4": ">=1.10.25", | ||
"jquery": ">=1.7" | ||
}, | ||
@@ -34,0 +34,0 @@ "moduleType": [ |
# Buttons for DataTables with styling for [Bootstrap4](https://getbootstrap.com/docs/4.6/getting-started/introduction/) | ||
This package contains a built distribution of the [Buttons extension](https://datatables.net/extensions/Buttons) for [DataTables](https://datatables.net/) with styling for [Bootstrap4](https://getbootstrap.com/docs/4.6/getting-started/introduction/). | ||
This package contains a built distribution of the [Buttons extension](https://datatables.net/extensions/buttons) for [DataTables](https://datatables.net/) with styling for [Bootstrap4](https://getbootstrap.com/docs/4.6/getting-started/introduction/). | ||
@@ -5,0 +5,0 @@ The Buttons extension for DataTables provides a common set of options, API methods and styling to display buttons on a page that will interact with a DataTable. It also provides plug-ins for file export (HTML5 and Flash), print view and column visibility. Other libraries, such as Editor and Select also provide buttons specific to their use cases. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
17369
325
+ Addeddatatables.net@2.1.8(transitive)
+ Addeddatatables.net-bs4@3.2.2(transitive)
+ Addeddatatables.net-buttons@3.2.0(transitive)
- Removeddatatables.net@1.13.11(transitive)
- Removeddatatables.net-bs4@1.13.11(transitive)
- Removeddatatables.net-buttons@1.7.1(transitive)
Updateddatatables.net-bs4@>=1.10.25