API

Interface IHtmlInCanvasPolyfillModule

Shape of the three-html-render polyfill module (only the parts this wrapper uses).

interface IHtmlInCanvasPolyfillModule {
    installHtmlInCanvasPolyfill?: (options?: { force?: boolean }) => void;
    uninstallHtmlInCanvasPolyfill?: () => void;
}
Index
installHtmlInCanvasPolyfill?: (options?: { force?: boolean }) => void

Installs the WICG HTML-in-Canvas polyfill onto the relevant DOM prototypes.

uninstallHtmlInCanvasPolyfill?: () => void

Removes a previously installed polyfill.