# LoadRootEvent

typedef

Event fired when [`loadRoot`](module_editor-multi-root_multirooteditor-MultiRootEditor.md#function-loadRoot) method is called.

The [default action of that method](module_editor-multi-root_multirooteditor-MultiRootEditor.md#function-loadRoot) is implemented as a listener to this event, so it can be fully customized by the features.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-editor-multi-root/src/multirooteditor.ts#L1390)

#### Value

`DecoratedMethodEvent<MultiRootEditor, 'loadRoot'>`

## Fired by

* [MultiRootEditor#loadRoot](module_editor-multi-root_multirooteditor-MultiRootEditor.md#event-loadRoot)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
