Introduction
DimensionIQ Interface
DimensionIQ integrates with your web application through a global object called
webMeasure
.This
object acts as the single, official integration point between the host application and the DimensionIQ WebAssembly (WASM) module.
Rather than exposing the WASM module directly, DimensionIQ provides a JavaScript API layer that allows your application to:
- Control DimensionIQ behavior
- Exchange data with the WASM engine
- Respond to events generated by DimensionIQ
- Remain isolated from low-level WASM implementation details
This design keeps the integration clean, stable, and future-proof.
Role of DimensionIQ in the Architecture
Host web Application (JavaScript/UI)
|
DimensionIQ (JavaScript API Layer)
|
webMeasure (JavaScript/WASM Layer)
Key Principle
The host application never communicates directly with the WASM module. All interactions flow through the DimensionIQ API.