Skip to main content

Scene.EmitPath

A path to a component's emit property

Methods

bind

bind(eventPath: Scene.EventPath): void

Bind this path to an EventPath.

ParameterType
eventPathScene.EventPath

disable

disable(): void

Disable this.emit and the associated Component's notify

emit

emit(payload: T): void

Emit the event associated with this path. This is similar to IComponent.notify

ParameterType
payloadT

enable

enable(): void

Enable this.emit and the associated Component's ability to notify