Scene.EmitPath
A path to a component's emit property
Extends: Scene.PathBase
Properties
id
id: (readonly) string
The id of this path. Set to a random string, or the id provided when creating the path
Methods
bind
bind(eventPath: Scene.EventPath): void
Bind this path to an EventPath.
| Parameter | Type |
|---|---|
| eventPath | Scene.EventPath |
emit
emit(payload: T): void
Emit the event associated with this path. This is similar to IComponent.notify
| Parameter | Type |
|---|---|
| payload | T |