TLOnMountHandler
Called when the editor has mounted.
type TLOnMountHandler = (
  editor: Editor
) => (() => undefined | void) | undefined | void
Example
<Tldraw onMount={(editor) => editor.selectAll()} />
Parameters
| Name | Description | 
|---|---|
  | The editor instance.  | 

