BubbleMenuView
class BubbleMenuView { }
constructor({ editor, element, view, tippyOptions, updateDelay, shouldShow }: BubbleMenuViewProps);
private updateDebounceTimer;
blurHandler: ({ event }: {
event: FocusEvent;
}) => void;dragstartHandler: () => void;
editor: Editor;
element: HTMLElement;
focusHandler: () => void;
handleDebouncedUpdate: (view: EditorView, oldState?: EditorState) => void;
mousedownHandler: () => void;
preventHide: boolean;
shouldShow: Exclude<BubbleMenuPluginProps["shouldShow"], null>;
tippy: Instance | undefined;
tippyBlurHandler: (event: FocusEvent) => void;
tippyOptions?: Partial<Props>;
updateDelay: number;
updateHandler: (
view: EditorView,
selectionChanged: boolean,
docChanged: boolean,
oldState?: EditorState,
) => void;view: EditorView;
createTooltip(): void;
destroy(): void;
hide(): void;
show(): void;
§Constructors
§
new BubbleMenuView({ editor, element, view, tippyOptions, updateDelay, shouldShow }: BubbleMenuViewProps)
[src]§Properties
§
handleDebouncedUpdate: (view: EditorView, oldState?: EditorState) => void
[src]§
shouldShow: Exclude<BubbleMenuPluginProps["shouldShow"], null>
[src]§
updateHandler: (view: EditorView, selectionChanged: boolean, docChanged: boolean, oldState?: EditorState) => void
[src]§
view: EditorView
[src]