Create new instance.
Hides the toolbars and Cancel
/ Continue
buttons in the preview window. For use only when combined with JavaScript flow control in the HTML preview. See docs for details.
Open HTML Preview window displaying the HTML string passed.
The HTML content to display. Should be complete HTML document.
Create new instance.
Generated using TypeDoc
HTMLPreview
Display of HTML Preview window, the same as the HTMLPreview action step. Returns true if user closed preview with the "Continue" button, false if the user cancelled.
Example
let html = "<html><body>My Document</body></html>" let preview = HTMLPreview.create(); if (preview.show(html)) { // continue button was pressed } else { // cancel button was pressed }