@hatiolab/things-scene 3.4.34 → 3.4.35
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.d.ts +12 -0
- package/things-scene.mjs +1 -1
package/package.json
CHANGED
package/things-scene.d.ts
CHANGED
|
@@ -417,6 +417,18 @@ declare module '@hatiolab/things-scene' {
|
|
|
417
417
|
reposition(): void
|
|
418
418
|
clearCache(): void
|
|
419
419
|
|
|
420
|
+
/*
|
|
421
|
+
* selector에 해당하는 모든 컴포넌트들을 찾는다.
|
|
422
|
+
* @params selector {string}
|
|
423
|
+
*/
|
|
424
|
+
findAll(selector: string, component?: Component): Array<Component>
|
|
425
|
+
|
|
426
|
+
/*
|
|
427
|
+
* selector에 해당하는 첫번째 컴포넌트를 찾는다.
|
|
428
|
+
* @params selector {string}
|
|
429
|
+
*/
|
|
430
|
+
findFirst(selector: string, ...others: any[]): Component
|
|
431
|
+
|
|
420
432
|
prepareIf(condition: boolean): void
|
|
421
433
|
mutatePath(
|
|
422
434
|
beforeLogic: ((path: Array<POINT>) => void) | null,
|