Skip to content

Commit

Permalink
fix(types): tool tip (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
jczacharia authored and yotamberk committed Oct 3, 2019
1 parent 57f8512 commit 57e091f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ export interface TimelineRollingModeOption {

export interface TimelineTooltipOption {
followMouse?: boolean;
overflowMethod?: 'cap' | 'flip';
overflowMethod?: 'cap' | 'flip' | 'none';
delay?: number;
template: (item: TimelineItem, editedData?: TimelineItem) => string;
}

export type TimelineOptionsConfigureFunction = (option: string, path: string[]) => boolean;
Expand Down
4 changes: 3 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ export interface TimelineRollingModeOption {

export interface TimelineTooltipOption {
followMouse?: boolean;
overflowMethod?: 'cap' | 'flip';
overflowMethod?: 'cap' | 'flip' | 'none';
delay?: number;
template: (item: TimelineItem, editedData?: TimelineItem) => string;
}

export type TimelineOptionsConfigureFunction = (option: string, path: string[]) => boolean;
Expand Down

0 comments on commit 57e091f

Please sign in to comment.