Creates the Wasm controller instance.
The main HTMLMicrioElement instance.
The main HTMLMicrioElement instance.
Flag indicating if the Wasm module has been loaded and initialized.
Add a child independent canvas to the current canvas, used for grid images
The image
The parent image
Promise when the image is added
Removes a canvas instance from the Wasm module.
Sets the currently active canvas/image instance in the Wasm module. Handles adding the canvas to Wasm if it's not already initialized.
Optional
canvas: MicrioImageThe MicrioImage instance to set as active.
The main WebAssembly controller class. Handles interaction between JavaScript and the compiled C++ core of Micrio. Accessed via
micrio.wasm
.