type
LivePreviewConfig
Serializable same- or cross-origin editor preview configuration.
Properties
| Property | Type | Description |
|---|---|---|
URL | string | Template supporting {id}, {collection}, and {field:path.to.value} placeholders. |
Breakpoints | []PreviewBreakpoint | Named authoring viewports offered by the editor. |
Full signature
type LivePreviewConfig struct {
URL string
Breakpoints []PreviewBreakpoint
}