Skip to content

HoverPopover

Import:

import { HoverPopover } from 'obsidian-test-mocks/obsidian';

Signature:

export class HoverPopover extends Component

Extends: Component

Constructor

new HoverPopover(parent: HoverParent, targetEl: HTMLElement | null, waitTime?: number | undefined, staticPos?: Point | null | undefined)

Properties

PropertyTypeDescription
children__Component[]
(Inherited from Component)
cleanups__(() => unknown)[]
(Inherited from Component)
events__EventRefOriginal[]
(Inherited from Component)
hoverElHTMLElement
intervals__number[]
(Inherited from Component)
loaded__boolean
(Inherited from Component)
statePopoverStateOriginal

Methods

MethodReturnsDescription
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: