@grida/canvas-wasm 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/grida-canvas-wasm.js +13 -7944
- package/dist/grida_canvas_wasm.wasm +0 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1927 -3596
- package/dist/index.mjs +1923 -3596
- package/package.json +1 -1
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -106,6 +106,7 @@ declare class ApplicationFactory {
|
|
|
106
106
|
private readonly module;
|
|
107
107
|
constructor(module: createGridaCanvas.GridaCanvasWasmBindings);
|
|
108
108
|
createWebGLCanvasSurface(canvas: HTMLCanvasElement): Grida2D;
|
|
109
|
+
createWebGLCanvasSurfaceById(htmlcanvasid: string): Grida2D;
|
|
109
110
|
}
|
|
110
111
|
declare class Grida2D {
|
|
111
112
|
private ptr;
|
|
@@ -169,4 +170,4 @@ declare class Grida2D {
|
|
|
169
170
|
devtools_rendering_set_show_ruler(show: boolean): void;
|
|
170
171
|
}
|
|
171
172
|
|
|
172
|
-
export { init as default };
|
|
173
|
+
export { Grida2D, init as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ declare class ApplicationFactory {
|
|
|
106
106
|
private readonly module;
|
|
107
107
|
constructor(module: createGridaCanvas.GridaCanvasWasmBindings);
|
|
108
108
|
createWebGLCanvasSurface(canvas: HTMLCanvasElement): Grida2D;
|
|
109
|
+
createWebGLCanvasSurfaceById(htmlcanvasid: string): Grida2D;
|
|
109
110
|
}
|
|
110
111
|
declare class Grida2D {
|
|
111
112
|
private ptr;
|
|
@@ -169,4 +170,4 @@ declare class Grida2D {
|
|
|
169
170
|
devtools_rendering_set_show_ruler(show: boolean): void;
|
|
170
171
|
}
|
|
171
172
|
|
|
172
|
-
export { init as default };
|
|
173
|
+
export { Grida2D, init as default };
|