@hatiolab/things-scene 2.7.26 → 3.0.0-beta.3
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 +3 -3
- package/things-scene-ie.js +1 -1
- package/things-scene-min.js +1 -1
- package/things-scene.d.ts +3 -3
- package/things-scene.mjs +1 -1
package/things-scene.d.ts
CHANGED
|
@@ -192,7 +192,7 @@ declare module '@hatiolab/things-scene' {
|
|
|
192
192
|
on(name: string, callback: Function, context?: any): void
|
|
193
193
|
off(name: string, callback: Function, context?: any): void
|
|
194
194
|
once(name: string, callback: Function, context?: any): void
|
|
195
|
-
trigger(name: string): void
|
|
195
|
+
trigger(name: string, ...others: any[]): void
|
|
196
196
|
}
|
|
197
197
|
} & TBase
|
|
198
198
|
|
|
@@ -434,13 +434,13 @@ declare module '@hatiolab/things-scene' {
|
|
|
434
434
|
* selector에 해당하는 모든 컴포넌트들을 찾는다.
|
|
435
435
|
* @params selector {string}
|
|
436
436
|
*/
|
|
437
|
-
findAll(selector: string): Array<Component>
|
|
437
|
+
findAll(selector: string, component?: Component): Array<Component>
|
|
438
438
|
|
|
439
439
|
/*
|
|
440
440
|
* selector에 해당하는 첫번째 컴포넌트를 찾는다.
|
|
441
441
|
* @params selector {string}
|
|
442
442
|
*/
|
|
443
|
-
findFirst(selector: string): Component
|
|
443
|
+
findFirst(selector: string, ...others: any[]): Component
|
|
444
444
|
|
|
445
445
|
/*
|
|
446
446
|
* id를 갖는 컴포넌트를 찾는다.
|