Skip to content

Vizzu / Modules / events / Event

Interface: Event\

events.Event

The interface of the event object is passed to event handlers by the library. Detail properties will vary by event type.

Type parameters

Name
T

Hierarchy

Properties

renderingContext

Optional renderingContext: CanvasRenderingContext2D

For drawing events the rendering context of the underlying canvas set up for drawing the element.


target

target: null | T

The element of the chart the event triggered on.

Methods

preventDefault

preventDefault(): void

If called, the default action of the event will be canceled.

Returns

void