| title | API Documentation |
|---|---|
| section | AngleSharp.Wasm |
This page summarizes the currently available public API surface.
Extension methods are available on IConfiguration via AngleSharp.Wasm:
Registers the default Wasmtime-backed runtime factory.
var config = Configuration.Default.WithWasm();Registers a custom runtime factory creator.
Registers a host import provider.
Registers host imports via delegate.
When used with a scripting integration that discovers DOM attributes, the following surface is exposed under WebAssembly.
Compiles bytes and returns a WasmJsModule.
Instantiates a compiled module and returns a WasmJsInstance.
Returns WasmModuleExportDescriptor[] with:
namekind(function,table,memory,global,tag)
Returns WasmModuleImportDescriptor[] with:
modulenamekind
Returns all matching custom section payloads as byte[][].
Returns a WasmJsExports object.
Invokes an exported function by name.
Returns an export entry by name:
WasmJsExportedFunctionfor function exportsWasmJsExportValuefor non-function exportsnullif no export is found
Returns all export names.
Invokes the wrapped exported function.
Descriptor type for non-function exports.
namekind
This API is intentionally focused on a practical subset of the full WebAssembly JS API spec. See Questions for limitations and expected behavior.
For a section-by-section status overview, see Spec Coverage Matrix.