API

Interface IInstallHtmlInCanvasPolyfillOptions

interface IInstallHtmlInCanvasPolyfillOptions {
    force?: boolean;
    moduleSpecifier?: string;
    polyfillModule?: IHtmlInCanvasPolyfillModule;
}
Index
force?: boolean

Install the polyfill even when the browser already supports the API natively (default false).

moduleSpecifier?: string

Module specifier to lazily import the polyfill from (default "three-html-render").

A pre-imported polyfill module to use instead of dynamically importing one.