Load one WASM engine before createGrid. The default is @sheetwrite/wasm.
Pass the @sheetwrite/formulas module as the second argument to select the full engine.
Examples
import * as formulas from "@sheetwrite/formulas" ;
See also
Declaration
source ?: BufferSource | URL | string | Request | WebAssembly . Module ,
Referenced by
Workspace packages depending on @sheetwrite/core
@sheetwrite/benchdependency
@sheetwrite/docs-startdependency
@sheetwrite/reactdependency
@sheetwrite/sveltedependency
@sheetwrite/vuedependency
@sheetwrite/xlsxdependency
Public exports naming initSheetwrite
function initSheetwrite(source?: BufferSource | URL | string | Request | WebAssembly.Module, engine?: SheetwriteEngine): Promise<void> function initSheetwrite (
source ?:
BufferSource | URL | string | Request | WebAssembly . Module ,
engine ?: SheetwriteEngine ,
) : Promise < void > function initSheetwrite (
source ?:
| BufferSource
| URL
| string
| Request
| WebAssembly . Module ,
engine ?: SheetwriteEngine ,
) : Promise < void > Load one WASM engine before createGrid. The default is @sheetwrite/wasm. Pass the @sheetwrite/formulas module as the second argument to select the full engine. @example import { initSheetwrite } from "@sheetwrite/core"; import * as formulas from "@sheetwrite/formulas"; await initSheetwrite(undefined, formulas);@see /docs/guides/formulas/@see createGridAPI reference → var undefined var undefined var undefined interface SheetwriteEngine {
CellStore: typeof defaultEngine.CellStore;
load: typeof defaultEngine.load;
isLoaded: typeof defaultEngine.isLoaded;
createEngine: typeof defaultEngine.createEngine;
functionNames?: () => string[];
} interface SheetwriteEngine {
CellStore : typeof defaultEngine.CellStore;
load : typeof defaultEngine.load;
isLoaded : typeof defaultEngine.isLoaded;
createEngine : typeof defaultEngine.createEngine;
functionNames ?: () => string [];
} interface SheetwriteEngine {
CellStore : typeof defaultEngine.CellStore;
load : typeof defaultEngine.load;
isLoaded : typeof defaultEngine.isLoaded;
createEngine : typeof defaultEngine.createEngine;
functionNames ?: () => string [];
} A complete engine module from @sheetwrite/wasm or @sheetwrite/formulas. API reference →