GenomeSpy Core API / MarkEvent
Interface: MarkEvent¶
A mark interaction event scoped to a ViewHandle subtree.
Mark activation performs picking at the event coordinates before invoking
the listener. GPU-backed picking can make delivery asynchronous, and the
callback is skipped when the scene or its owning view/embed is invalidated
before the pick completes. Marks configured with tooltip: null are not
pickable unless their view declares a point selection, which overrides that
opt-out; use tooltip: false to suppress tooltips while keeping a mark
interactive.
Properties¶
sourceEvent¶
readonlysourceEvent:MouseEvent
Browser event that triggered the mark interaction.
point¶
readonlypoint:object
Canvas-relative CSS-pixel coordinates of the interaction.
x¶
readonlyx:number
y¶
readonlyy:number
hit¶
readonlyhit:MarkHit
Mark and datum confirmed by the renderer's picking state.