initLivePreview
Initializes Live Preview in SmartEdit.
The function is idempotent - call it again after every client-side navigation. The webApplicationInjector script is installed only once, while the body classes and the component-update handler are refreshed on every call so SmartEdit always sees the currently displayed page.
Signature
declare function initLivePreview(
props: InitLivePreviewProps
): void;Parameters
| Name | Required | Type | Description |
|---|---|---|---|
props | Required | InitLivePreviewProps |