@hatiolab/things-scene 3.0.20 → 3.0.21
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-ie.js +1 -1
- package/things-scene-min.js +1 -1
- package/things-scene.d.ts +5 -5
- package/things-scene.mjs +1 -1
package/things-scene.d.ts
CHANGED
|
@@ -332,16 +332,16 @@ declare module '@hatiolab/things-scene' {
|
|
|
332
332
|
class ContainerAbstract extends MoveHandle(RectPath(Component)) {
|
|
333
333
|
indexOf(component: Component): number
|
|
334
334
|
size(): number
|
|
335
|
-
addComponent(target: Component): void
|
|
336
|
-
removeComponent(target: Component): void
|
|
337
|
-
insertComponentAt(target: Component, idx: number): void
|
|
335
|
+
addComponent(target: Component, ghost?: boolean): void
|
|
336
|
+
removeComponent(target: Component, ghost?: boolean): void
|
|
337
|
+
insertComponentAt(target: Component, idx: number, ghost?: boolean): void
|
|
338
338
|
findById(id: string): Component | undefined
|
|
339
339
|
getAt(at: number): Component | undefined
|
|
340
340
|
|
|
341
341
|
reflow(): void
|
|
342
342
|
|
|
343
|
-
add(components: Component[] | Component): Container
|
|
344
|
-
remove(components: Component[] | Component): Container
|
|
343
|
+
add(components: Component[] | Component, ghost?: boolean): Container
|
|
344
|
+
remove(components: Component[] | Component, ghost?: boolean): Container
|
|
345
345
|
|
|
346
346
|
components: Component[]
|
|
347
347
|
}
|