PointerEventProps
Defined in: ui/src/types.ts:283
Hover/pointer callbacks shared by the interactive UI primitives. Every UI
primitive’s Pixi container is already eventMode: "static" (the
consume-input fallback), so wiring these is a small fan-out, not new infra.
onPointerOver/onPointerOutmirror the underlying Pixi events and the existingonClicknaming — reach for these when enter and leave need independent handlers.onHover(hovering)is the convenience form: called withtrueon enter andfalseon leave. Ideal for “show while hovered” toggles (tooltips, detail popovers) where one setter handles both edges.
All three are independent and may be combined. UIButton, UICheckbox and
the interactive @pixi/ui wrappers suppress all three while they are
disabled.
Extended by
Section titled “Extended by”UITextPropsUISplitTextPropsUIButtonPropsUIImagePropsUINineSlicePropsUIProgressBarPropsUICheckboxPropsUIPanelPropsUIScrollViewPropsPixiFancyButtonPropsPixiCheckboxPropsPixiSliderPropsPixiInputPropsPixiSelectPropsPixiRadioGroupProps
Properties
Section titled “Properties”onHover?
Section titled “onHover?”
optionalonHover?: (hovering) =>void
Defined in: ui/src/types.ts:286
Parameters
Section titled “Parameters”hovering
Section titled “hovering”boolean
Returns
Section titled “Returns”void
onPointerOut?
Section titled “onPointerOut?”
optionalonPointerOut?: () =>void
Defined in: ui/src/types.ts:285
Returns
Section titled “Returns”void
onPointerOver?
Section titled “onPointerOver?”
optionalonPointerOver?: () =>void
Defined in: ui/src/types.ts:284
Returns
Section titled “Returns”void
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.