HoverLinkEvent
Unofficial
Event triggered when a link is hovered.
Import:
import type { HoverLinkEvent } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface HoverLinkEventProperties
| Property | Type | Description | |
|---|---|---|---|
| event | MouseEvent | The mouse event. | |
| hoverParent | HoverParent | The hover parent. | |
| linktext | string | The link text. | |
| source | 'editor' | 'file-explorer' | 'graph' | 'hover-link' | 'preview' | 'properties' | 'search' | The source of the event. | |
| sourcePath? | string | The source path. | |
| state? | HoverLinkEventState | The state of the event. | |
| targetEl | HTMLElement | null | The target element. |