Enumeration: RendererEvents
@ima/core.RendererEvents
Events constants, which is firing to app.
Enumeration Members
ERROR
• ERROR = "$IMA.$PageRenderer.error"
PageRenderer fires event $IMA.$PageRenderer.error
when there is
no _viewContainer in _renderToDOM method. Event's data contain
{message: string}
.
Defined in
packages/core/src/page/renderer/RendererEvents.ts:31
HYDRATE_ERROR
• HYDRATE_ERROR = "$IMA.$PageRenderer.hydrateError"
Fired when problem occurs during hydratation.
Defined in
packages/core/src/page/renderer/RendererEvents.ts:36
MOUNTED
• MOUNTED = "$IMA.$PageRenderer.mounted"
PageRenderer fires event $IMA.$PageRenderer.mounted
after
current page view is mounted to the DOM. Event's data contain
{type: string}
.
Defined in
packages/core/src/page/renderer/RendererEvents.ts:10
UNMOUNTED
• UNMOUNTED = "$IMA.$PageRenderer.unmounted"
PageRenderer fires event $IMA.$PageRenderer.unmounted
after current view is
unmounted from the DOM. Event's data contain
{type: string}
.
Defined in
packages/core/src/page/renderer/RendererEvents.ts:24
UPDATED
• UPDATED = "$IMA.$PageRenderer.updated"
PageRenderer fires event $IMA.$PageRenderer.updated
after
current state is updated in the DOM. Event's data contain
{state: Object<string, *>}
.