Skip to content

unhoverElement

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

Import:

import { unhoverElement } from 'obsidian-dev-utils/obsidian/mobile-trusted-input';

Signature:

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

Parameters:

ParameterTypeDescription
paramsUnhoverElementParamsThe element to move the pointer away from.

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