HoverPopover
Import:
import { HoverPopover } from 'obsidian-test-mocks/obsidian';Signature:
export class HoverPopover extends ComponentExtends: Component
Constructor
new HoverPopover(parent: HoverParent, targetEl: HTMLElement | null, waitTime?: number | undefined, staticPos?: Point | null | undefined)Properties
| Property | Type | Description |
|---|---|---|
| children__ | Component[] | (Inherited from Component) |
| cleanups__ | (() => unknown)[] | (Inherited from Component) |
| events__ | EventRefOriginal[] | (Inherited from Component) |
| hoverEl | HTMLElement | |
| intervals__ | number[] | (Inherited from Component) |
| loaded__ | boolean | (Inherited from Component) |
| state | PopoverStateOriginal |
Methods
| Method | Returns | Description |
|---|---|---|
| addChild(component) | T | (Inherited from Component) |
| asOriginalType__() | ComponentOriginal | (Inherited from Component) |
| asOriginalType2__() | HoverPopoverOriginal | |
| constructor__() | void | (Inherited from Component) |
| constructor2__(_parent, _targetEl, _waitTime?, _staticPos?) | void | |
| load() | void | (Inherited from Component) |
| onload() | void | (Inherited from Component) |
| onunload() | void | (Inherited from Component) |
| register(callback) | void | (Inherited from Component) |
| registerDomEvent(el, type, callback, options?) | void | (Inherited from Component) |
| registerEvent(ref) | void | (Inherited from Component) |
| registerInterval(id) | number | (Inherited from Component) |
| removeChild(component) | T | (Inherited from Component) |
| unload() | void | (Inherited from Component) |
| static create__() | Component | (Inherited from Component) |
| static create2__(parent, targetEl, waitTime?, staticPos?) | HoverPopover | |
| static forLeaf__(_leaf) | HoverPopover | null | |
| static fromOriginalType__(value) | Component | (Inherited from Component) |
| static fromOriginalType2__(value) | HoverPopover |
Links to this page: