Skip to content

Vizzu / Modules / events / TextDrawEvent

Interface: TextDrawEvent\

events.TextDrawEvent

Event of drawing a text.

Type parameters

Name
T

Hierarchy

  • Event\<T>

    TextDrawEvent

Properties

renderingContext

Optional renderingContext: CanvasRenderingContext2D

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

Inherited from

Event.renderingContext


target

target: null | T

The element of the chart the event triggered on.

Inherited from

Event.target

Methods

preventDefault

preventDefault(): void

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

Returns

void

Inherited from

Event.preventDefault