HomeWeb Components API Reference - v0.10.1
    Preparing search index...

    Class ModuleElement

    The ModuleElement interface provides properties and methods for manipulating <pc-module> elements. The ModuleElement interface also inherits the properties and methods of the HTMLElement interface.

    Note that these attributes are read once when the element is created, so changing them later has no effect.

    name - The name of the WebAssembly module to configure, e.g. Basis or Ammo.

    glue - The URL of the module's glue script.

    wasm - The URL of the module's WebAssembly binary.

    fallback - The URL of the module's asm.js fallback script, used when WebAssembly is unavailable.

    Hierarchy