Debian Codegraph @

Buttons/js/buttons.bootstrap.js

raw symbols SCIP
1
2 (function($, DataTables){
3
4 $.extend( true, DataTables.Buttons.defaults, {
5 dom: {
6 container: {
7 className: 'dt-buttons btn-group'
8 },
9 button: {
10 className: 'btn btn-default'
11 },
12 collection: {
13 tag: 'ul',
14 className: 'dt-button-collection dropdown-menu',
15 button: {
16 tag: 'li',
17 className: 'dt-button'
18 },
19 buttonLiner: {
20 tag: 'a',
21 className: ''
22 }
23 }
24 }
25 } );
26
27 DataTables.ext.buttons.collection.text = function ( dt ) {
28 return dt.i18n('buttons.collection', 'Collection <span class="caret"/>');
29 };
30
31 })(jQuery, jQuery.fn.dataTable);