UNPKG

@contentstack/live-preview-utils

Version:

Contentstack provides the Live Preview SDK to establish a communication channel between the various Contentstack SDKs and your website, transmitting live changes to the preview pane.

9 lines (7 loc) 526 B
declare function addVariantFieldClass(variant_uid: string, highlightVariantFields: boolean): void; declare function removeVariantFieldClass(onlyHighlighted?: boolean): void; declare function setAudienceMode(mode: boolean): void; declare function setVariant(uid: string | null): void; declare function setLocale(locale: string): void; declare function useVariantFieldsPostMessageEvent(): void; export { addVariantFieldClass, removeVariantFieldClass, setAudienceMode, setLocale, setVariant, useVariantFieldsPostMessageEvent };