Member Junction
    Preparing search index...

    Renders a Word document (.docx) inline: fetches the bytes from Url (or takes them from ArrayBuffer), converts them to HTML with mammoth and shows the sanitized result. Explorer's one Word renderer: the artifact viewer wraps it with its toolbar, and the Files form shows it in its preview pane.

    Loaded fires with the raw HTML once the document is shown; Failed fires with the reason when it cannot be.

    Index

    Constructors

    Properties

    ErrorMessage: string = ''
    Failed: EventEmitter<string> = ...

    Why the document could not be shown.

    IsLoading: boolean = true
    Loaded: EventEmitter<string> = ...

    The raw HTML mammoth produced, once the document is shown.

    RawHtml: string = ''

    The HTML as mammoth produced it, before sanitizing: what a print window renders.

    SafeHtml: SafeHtml = ''

    Accessors