Skip to content

unhoverElement

Always throws, for the same reason as hoverElement: there is no :hover state to clear.

Import:

import { unhoverElement } from '@mnaoumov/obsidian-lib/mobile-trusted-input';

Signature:

function unhoverElement(params: UnhoverElementParams): Promise<void>

Parameters:

Parameter Type Description
params UnhoverElementParams The element to move the pointer away from.

Returns: Promise<void> — A Promise that never resolves — the call throws.