Skip to content

Commit

Permalink
made types more correct
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoryak authored Feb 24, 2021
1 parent 5f90c81 commit 0d0c059
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dist/jquery.floatThead.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
interface floatTheadOptions {
position?: string;
scrollContainer?: ($table: JQuery) => JQuery;
position?: "fixed"|"absolute"|"auto";
scrollContainer?: true|(($table: JQuery) => JQuery);
responsiveContainer?: ($table: JQuery) => JQuery;
ariaLabel: ($table: JQuery, $headerCell: JQuery, columnIndex: number) => string;
ariaLabel?: ($table: JQuery, $headerCell: JQuery, columnIndex: number) => string;
headerCellSelector?: string;
floatTableClass?: string;
floatContainerClass?: string;
top?: number;
bottom?: number;
top?: number|(($table: JQuery) => number);
bottom?: number|(($table: JQuery) => number);
zIndex?: number;
debug?: boolean;
getSizingRow?: ($table: JQuery, $cols: JQuery, $fthCells: JQuery) => JQuery;
Expand All @@ -17,7 +17,7 @@ interface floatTheadOptions {

interface JQuery {
floatThead(floatTheadOptions?: floatTheadOptions): JQuery;
floatThead(action: string): JQuery;
floatThead(action: "destroy"|"reflow"|"getRowGroups"): JQuery|() => JQuery;
trigger(action: string): JQuery;
on(events: string, handler: (event: Event, $floatContainer: JQuery) => void|boolean): JQuery;
on(events: string, handler: (event: Event, isFloated: boolean, $floatContainer: JQuery) => void|boolean): JQuery;
Expand Down

0 comments on commit 0d0c059

Please sign in to comment.