modern-canvas 0.14.24 → 0.14.26

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.
@@ -22,9 +22,9 @@ export declare class Element2DText extends CoreObject {
22
22
  fonts: Fonts;
23
23
  drawMode: TextDrawMode;
24
24
  readonly base: Text;
25
- get innerText(): string;
26
- set innerText(val: string);
27
- protected _innerText: string;
25
+ get textContent(): string;
26
+ set textContent(val: string);
27
+ protected _textContent: string;
28
28
  protected _autoDrawMode?: TextDrawMode;
29
29
  protected _autoDrawThreshold: number;
30
30
  protected _texture: CanvasTexture;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-canvas",
3
3
  "type": "module",
4
- "version": "0.14.24",
4
+ "version": "0.14.26",
5
5
  "packageManager": "pnpm@10.19.0",
6
6
  "description": "A JavaScript WebGL rendering engine. only the ESM.",
7
7
  "author": "wxm",