@hatiolab/things-scene 9.0.0-beta.56 → 9.0.0-beta.57
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/package.json +1 -1
- package/things-scene-min.js +5 -5
- package/things-scene-min.js.map +1 -1
- package/things-scene.d.ts +6 -1
- package/things-scene.mjs +7 -7
- package/things-scene.mjs.map +1 -1
package/things-scene.d.ts
CHANGED
|
@@ -433,6 +433,8 @@ declare module '@hatiolab/things-scene' {
|
|
|
433
433
|
get started(): boolean
|
|
434
434
|
set started(started: boolean)
|
|
435
435
|
|
|
436
|
+
get position(): string
|
|
437
|
+
|
|
436
438
|
resetAnimation(): void
|
|
437
439
|
|
|
438
440
|
isRootModel(): boolean
|
|
@@ -445,6 +447,7 @@ declare module '@hatiolab/things-scene' {
|
|
|
445
447
|
isIdentifiable(): boolean
|
|
446
448
|
isTemplate(): boolean
|
|
447
449
|
isIn3DSpace(): boolean
|
|
450
|
+
isPositionable(): boolean
|
|
448
451
|
|
|
449
452
|
ready(): void
|
|
450
453
|
dispose(): void
|
|
@@ -545,7 +548,9 @@ declare module '@hatiolab/things-scene' {
|
|
|
545
548
|
target: HTMLElement | null
|
|
546
549
|
canvas: HTMLCanvasElement | null
|
|
547
550
|
|
|
548
|
-
getContext(): CanvasRenderingContext2D
|
|
551
|
+
getContext(component?: Component): CanvasRenderingContext2D
|
|
552
|
+
getOverlay(component?: Component): HTMLElement
|
|
553
|
+
|
|
549
554
|
centerTo(component: Component, animated?: boolean): void
|
|
550
555
|
}
|
|
551
556
|
|