type

Live preview constants

Stable message and query-parameter constants.

Properties

PropertyTypeDescription
RIDU_LIVE_PREVIEW_MESSAGE"ridu-live-preview"The stable postMessage protocol discriminator.
RIDU_LIVE_PREVIEW_CHANNEL_PARAM"__ridu_preview"The preview channel query parameter.
RIDU_PREVIEW_TOKEN_PARAM"__ridu_preview_token"The short-lived preview token query parameter.

Full signature

const RIDU_LIVE_PREVIEW_MESSAGE = "ridu-live-preview"; const RIDU_LIVE_PREVIEW_CHANNEL_PARAM = "__ridu_preview"; const RIDU_PREVIEW_TOKEN_PARAM = "__ridu_preview_token"