The options for the renderSVG function.

interface IRenderOptions {
    host: HTMLElement;
    source: string;
    translator: ITranslator;
    trusted: boolean;
    unconfined?: boolean;
}

Properties

The host node for the rendered SVG.

source: string

The SVG source.

translator: ITranslator

The application language translator.

trusted: boolean

Whether the source is trusted.

unconfined?: boolean

Whether the svg should be unconfined.