Documentation / @finchart/core / index / InputConsumer
Interface: InputConsumer
Defined in: packages/core/src/interaction/input-router.ts:103
Something that gets first look at input — this is where a drawing tool or an axis drag belongs.
When handle returns true, it consumed the event: that event never reaches below it (other consumers, the default pan/zoom/crosshair). The judgment call (is this over my shape?) belongs to the consumer — a shared hitTest contract waits until two real consumers exist.
Methods
handle()
handle(
event):boolean
Defined in: packages/core/src/interaction/input-router.ts:104
Parameters
event
Returns
boolean