Skip to content

PointerFocusMode

PointerFocusMode = "none" | "press" | "hover"

Defined in: ui/src/types.ts:307

What pointer input does to focus inside a scope.

  • "press": pressing a control focuses it. Moving the pointer only changes which control looks hovered.
  • "hover": moving the pointer over a control focuses it as well.
  • "none": the pointer never moves focus.

Hovered and pressed looks, and the action a click runs, work under every setting.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/ui.md.