Skip to content

Commit ae960b9

Browse files
committed
48399b8f822f40cde08e0b56a0a84b70e8c6a678 Fix: Add attr option to button typing
https://datatables.net/forums/discussion/75475 Sync to source repo @48399b8f822f40cde08e0b56a0a84b70e8c6a678
1 parent 2e9c116 commit ae960b9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

datatables.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
],
1616
"src-repo": "http://github.com/DataTables/Buttons",
1717
"last-tag": "2.3.4",
18-
"last-sync": "30575e1db8a1d327908215f9952ce8ab35e3101a"
18+
"last-sync": "48399b8f822f40cde08e0b56a0a84b70e8c6a678"
1919
}

types/types.d.ts

+7
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,13 @@ declare module 'datatables.net' {
385385
*/
386386
action?: FunctionButtonAction;
387387

388+
/**
389+
* Button HTML attributes
390+
*/
391+
attr?: {
392+
[key: string]: string | number
393+
};
394+
388395
/**
389396
* Ensure that any requirements have been satisfied before initialising a button
390397
*/

0 commit comments

Comments
 (0)