Wocart

@wocart/theme v4.1.0


@wocart/theme / preview-bridge / PreviewBridgeOptions

Interface: PreviewBridgeOptions

Properties

editorOrigin

editorOrigin: string

The editor's origin: the verified token's editor claim.


endpoint?

optional endpoint?: string

The theme's preview route; THEME_PREVIEW_PATH by default.


token

token: string

The verified token, posted back with every re-render.


window?

optional window?: Window

The window to run in; the page's own by default.