HtmlLivePreviewWrapper

constructor(srcFile: String, endpointRoot: String = DEFAULT_ENDPOINT_ROOT)

Parameters

srcFile

URL or path used as the iframe's src

endpointRoot

path prefix concatenated with the endpoint name to form the SSE URL. Defaults to DEFAULT_ENDPOINT_ROOT (/); pass e.g. "../" to produce ../reload.