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.
Attribute
name - The name of the WebAssembly module to configure, e.g. Basis or
Ammo.
Attribute
glue - The URL of the module's glue script.
Attribute
wasm - The URL of the module's WebAssembly binary.
Attribute
fallback - The URL of the module's asm.js fallback script, used when
WebAssembly is unavailable.
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.
Attribute
name - The name of the WebAssembly module to configure, e.g.
BasisorAmmo.Attribute
glue - The URL of the module's glue script.
Attribute
wasm - The URL of the module's WebAssembly binary.
Attribute
fallback - The URL of the module's asm.js fallback script, used when WebAssembly is unavailable.