ScrollIntoViewOptions
Options for ScrollViewContextValue.scrollTo and FocusableHandle.scrollIntoView.
Example
Section titled “Example”ref.current?.scrollIntoView({ block: "center" });Properties
Section titled “Properties”FrameTiming
Section titled “FrameTiming”Per-phase timing breakdown of a single performRender call (ms).
Properties
Section titled “Properties”MouseContextValue
Section titled “MouseContextValue”Methods
Section titled “Methods”subscribe()
Section titled “subscribe()”subscribe(handler): () => void;Subscribe to all mouse events. Returns an unsubscribe function.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
handler | GlobalMouseHandler |
Returns
Section titled “Returns”(): void;Returns
Section titled “Returns”void
GlobalMouseHandler
Section titled “GlobalMouseHandler”type GlobalMouseHandler = (event, node) => void;Global mouse event handler. Receives the event and the hit-tested node (or null).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
event | MouseEvent |
node | GlyphNode | null |
Returns
Section titled “Returns”void