Alokai

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

NameRequiredTypeDescription
propsRequiredInitLivePreviewProps

Referenced Types

On this page