Skip to content

Commit

Permalink
feat: support updateDelay in bubble menu
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Mar 6, 2024
1 parent a4b38d3 commit 0680e39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/ngx-tiptap/src/lib/bubble-menu.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export class BubbleMenuDirective implements OnInit, OnDestroy {
@Input() editor!: Editor;
@Input() tippyOptions: BubbleMenuPluginProps['tippyOptions'] = {};
@Input() shouldShow: BubbleMenuPluginProps['shouldShow'] = null;
@Input() updateDelay: BubbleMenuPluginProps['updateDelay'];

constructor(private elRef: ElementRef<HTMLElement>) { }

Expand All @@ -24,6 +25,7 @@ export class BubbleMenuDirective implements OnInit, OnDestroy {
element: this.elRef.nativeElement,
tippyOptions: this.tippyOptions,
shouldShow: this.shouldShow,
updateDelay: this.updateDelay,
}));
}

Expand Down

0 comments on commit 0680e39

Please sign in to comment.