Skip to content

Commit

Permalink
Added settings that are in the readme and js file but missing in the …
Browse files Browse the repository at this point in the history
…types. (#13)
  • Loading branch information
hchiam authored Jan 4, 2023
1 parent 980b176 commit 48303a3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ declare namespace DataTables {

interface ColResizeSettings {
isEnabled?: boolean;
saveState?: boolean;
hoverClass?: string;
hasBoundCheck?: boolean;
minBoundClass?: string;
maxBoundClass?: string;
isResizable?: (column : ColumnLegacy) => boolean;
onResizeStart?: (column: ColumnLegacy, columns : (ColumnLegacy)[]) => void;
isResizable?: (column: ColumnLegacy) => boolean;
onResizeStart?: (column: ColumnLegacy, columns: (ColumnLegacy)[]) => void;
onResize?: (column: ColumnLegacy) => void;
onResizeEnd?: (column: ColumnLegacy, columns : (ColumnLegacy)[]) => void;
getMinWidthOf?: ($thNode : JQuery<HTMLTableCellElement>) => number;
onResizeEnd?: (column: ColumnLegacy, columns: (ColumnLegacy)[]) => void;
getMinWidthOf?: ($thNode: JQuery<HTMLTableCellElement>) => number;
stateSaveCallback?: (settings: DataTables.ColResizeSettings, data: any[]) => void;
stateLoadCallback?: (settings: DataTables.ColResizeSettings) => void;
}

interface Api {
Expand Down

0 comments on commit 48303a3

Please sign in to comment.