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
}

Hierarchy

  • HTMLPreview

Constructors

Properties

Methods

Constructors

Properties

hideInterface: boolean

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.

Methods

  • Open HTML Preview window displaying the HTML string passed.

    Parameters

    • html: string

      The HTML content to display. Should be complete HTML document.

    Returns boolean

Generated using TypeDoc