MCPcopy Index your code
hub / github.com/codex-team/editor.js / methods

Method methods

src/components/modules/api/tooltip.ts:27–39  ·  view source on GitHub ↗

* Available methods

()

Source from the content-addressed store, hash-verified

25 * Available methods
26 */
27 public get methods(): ITooltip {
28 return {
29 show: (element: HTMLElement,
30 content: TooltipContent,
31 options?: TooltipOptions
32 ): void => this.show(element, content, options),
33 hide: (): void => this.hide(),
34 onHover: (element: HTMLElement,
35 content: TooltipContent,
36 options?: TooltipOptions
37 ): void => this.onHover(element, content, options),
38 };
39 }
40
41 /**
42 * Method show tooltip on element with passed HTML content

Callers

nothing calls this directly

Calls 3

showMethod · 0.95
hideMethod · 0.95
onHoverMethod · 0.95

Tested by

no test coverage detected