Skip to content

Documentation / @finchart/core / index / CursorHost

Interface: CursorHost ​

Defined in: packages/core/src/plot/capabilities.ts:131

Can claim the cursor shape — the latest claim wins, and the unsubscribe function reverts it. Callable even on a headless chart (there's just no screen for it to show on; it doesn't throw).

Consumers: @finchart/tools, the built-in axis drag

Methods ​

claimCursor() ​

claimCursor(cursor): () => void

Defined in: packages/core/src/plot/capabilities.ts:132

Parameters ​

cursor ​

string

Returns ​

() => void