initLivePreview
Initializes Live Preview in SmartEdit.
Adding classes to slots and components is handled by the <RenderCmsContent /> wrapper in the Storefront.
Signature
declare function initLivePreview(
props: InitLivePreviewProps
): void;Parameters
| Name | Required | Type | Description |
|---|---|---|---|
props | Required | InitLivePreviewProps |