From 0680e392869041a1f5e63de948b744baee27ccaa Mon Sep 17 00:00:00 2001 From: Sibiraj <20282546+sibiraj-s@users.noreply.github.com> Date: Wed, 6 Mar 2024 14:59:29 +0530 Subject: [PATCH] feat: support updateDelay in bubble menu --- projects/ngx-tiptap/src/lib/bubble-menu.directive.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/ngx-tiptap/src/lib/bubble-menu.directive.ts b/projects/ngx-tiptap/src/lib/bubble-menu.directive.ts index 8a5d162..0667381 100644 --- a/projects/ngx-tiptap/src/lib/bubble-menu.directive.ts +++ b/projects/ngx-tiptap/src/lib/bubble-menu.directive.ts @@ -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) { } @@ -24,6 +25,7 @@ export class BubbleMenuDirective implements OnInit, OnDestroy { element: this.elRef.nativeElement, tippyOptions: this.tippyOptions, shouldShow: this.shouldShow, + updateDelay: this.updateDelay, })); }