Skip to main content

Preview API

Properties
NameTypeDefaultDescription
contentrequiredstring''The HTML content to render in the preview iframe.
iframe-widthrequiredstringWidth of the preview iframe (e.g. '600px' or '100%').
extra-classstring''Additional CSS class applied to the iframe element.