Google Apps Script API
    Preparing search index...

    Service for returning HTML and other text content from a script.

    Due to security considerations, scripts cannot directly return content to a browser. Instead, they must sanitize the HTML so that it cannot perform malicious actions. See the description of HtmlOutput for what limitations this implies on what can be returned.

    interface HtmlService {
        SandboxMode: typeof SandboxMode;
        XFrameOptionsMode: typeof XFrameOptionsMode;
        createHtmlOutput(): HtmlOutput;
        createHtmlOutput(blob: BlobSource): HtmlOutput;
        createHtmlOutput(html: string): HtmlOutput;
        createHtmlOutputFromFile(filename: string): HtmlOutput;
        createTemplate(blob: BlobSource): HtmlTemplate;
        createTemplate(html: string): HtmlTemplate;
        createTemplateFromFile(filename: string): HtmlTemplate;
        getUserAgent(): string;
    }
    Index

    Properties

    SandboxMode: typeof SandboxMode
    XFrameOptionsMode: typeof XFrameOptionsMode

    Methods