The options for the renderText function.

interface IRenderOptions {
    host: HTMLElement;
    sanitizer: IRenderMime.ISanitizer;
    source: string;
    translator?: ITranslator;
}

Properties

The host node for the text content.

The html sanitizer for untrusted source.

source: string

The source text to render.

translator?: ITranslator

The application language translator.