TLPerfEventMap
Table of contents
Map of all performance event names to their payload types. Used with PerformanceManager.on and PerformanceManager.once.
interface TLPerfEventMap {}Properties
"camera-end"
A camera operation ended (after debounce), with aggregated frame time stats.
"camera-end": [TLCameraEndPerfEvent];"camera-start"
A camera operation (pan/zoom) began.
"camera-start": [TLCameraStartPerfEvent];"interaction-end"
An interaction state was exited, with aggregated frame time stats.
"interaction-end": [TLInteractionEndPerfEvent];"interaction-start"
An interaction state was entered.
"interaction-start": [TLInteractionStartPerfEvent];"shapes-created"
Shapes were created.
"shapes-created": [TLShapeOperationPerfEvent];"shapes-deleted"
Shapes were deleted.
"shapes-deleted": [TLShapeOperationPerfEvent];"shapes-updated"
Shapes were updated.
"shapes-updated": [TLShapeOperationPerfEvent];frame
An animation frame was rendered. Only fires when listeners are registered.
frame: [TLFramePerfEvent];redo
A redo operation was performed.
redo: [TLUndoRedoPerfEvent];undo
An undo operation was performed.
undo: [TLUndoRedoPerfEvent];Prev
TLMeasureTextSpanOptsNext
TLPerfFrameTimeStats