TLShapeOperationPerfEvent

See source code
Table of contents

Emitted when shapes are created, updated, or deleted.

interface TLShapeOperationPerfEvent {}

Properties

count

Number of shapes affected.

count: number;

operation

The operation type.

operation: "create" | "delete" | "update";

shapeTypes

Breakdown by shape type (e.g. { geo: 2, draw: 1 }).

shapeTypes: Record<string, number>;

timestamp

performance.now() when the operation occurred.

timestamp: number;

Prev
TLShapeIndicatorsProps
Next
TLShapeUtilCanBeLaidOutOpts