Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function setWasmJsUrl

    • Override the URL used to load the WASM JS shim. Pass an absolute URL (e.g. new URL('/static/luxar/wasm/luxar_wasm.js', location.origin).href). Call before initWasm.

      Pass '' or undefined to RESET the override back to the default import.meta.url-relative resolution. Treating '' as a valid value would otherwise survive a ?? check in initWasm and yield a bogus empty wasm URL.

      Parameters

      • url: string | undefined

      Returns void