MCPcopy
hub / github.com/autoNumeric/autoNumeric / isHovered

Function isHovered

test/e2e/specs/autoNumeric.e2e.spec.js:350–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348 */
349// eslint-disable-next-line arrow-body-style
350const isHovered = async domId => {
351 return await browser.execute(domId => {
352 const input = document.querySelector(domId).matches(':hover');
353
354 return Boolean(input);
355 }, domId);
356};
357
358/**
359 * Scroll the mouse wheel by the given deltaX, deltaY amounts

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected