MCPcopy Index your code
hub / github.com/philc/vimium / constructor

Method constructor

content_scripts/link_hints.js:1541–1547  ·  view source on GitHub ↗
(link)

Source from the content-addressed store, hash-verified

1539
1540class HoverMode extends Mode {
1541 constructor(link) {
1542 super();
1543 super.init({ name: "hover-mode", singleton: "hover-mode", exitOnEscape: true });
1544 this.link = link;
1545 DomUtils.simulateHover(this.link);
1546 this.onExit(() => DomUtils.simulateUnhover(this.link));
1547 }
1548}
1549
1550Object.assign(globalThis, {

Callers

nothing calls this directly

Calls 2

onExitMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected