Docs
Introduction
Installation
Usage
App
Shapes
Tools
Persistence
Collaboration
User Interface
Community
Contributing
Translations
Embeds
API Reference
Close
tldraw
/
API
/
@tldraw/editor
OnBeforeCreateHandler
Public TypeAlias
Signature
type
OnBeforeCreateHandler
<T
extends
TLShape
> =
(
next: T
) =>
T |
void
References
TLShape
Edit this page
Last edited on 11 May 2023
normalizeWheel
OnBeforeUpdateHandler