Wocart

@wocart/theme v4.1.0


@wocart/theme / preview-bridge / startPreviewBridge

Function: startPreviewBridge()

startPreviewBridge(options): PreviewBridge

Starts the bridge on a preview page. It posts ready with every marked instance, layout as the page scrolls or resizes, hover as the merchant points, select as they click (in edit mode, where links and forms do nothing), and rendered after each draft it swaps in.

Parameters

options

PreviewBridgeOptions

Returns

PreviewBridge