Sets the path to the directory that contains the laz-perf library files.
This must be set before instantiating any class that makes use of this library.
For example, if the laz-perf.wasm file is served from <website>/public/wasm/laz-perf.wasm, the path to configure is the following:
laz-perf.wasm
<website>/public/wasm/laz-perf.wasm
setLazPerfPath('/public/wasm/'); Copy
setLazPerfPath('/public/wasm/');
Note: the default path to the laz-perf library is DEFAULT_LAZPERF_PATH.
Sets the path to the directory that contains the laz-perf library files.
This must be set before instantiating any class that makes use of this library.
For example, if the
laz-perf.wasm
file is served from<website>/public/wasm/laz-perf.wasm
, the path to configure is the following:Note: the default path to the laz-perf library is DEFAULT_LAZPERF_PATH.