emit

open fun emit(eventType: String)

Emits an Event of EventType. However, the Event will only be emitted if the component is allowed to do so

Parameters

eventType

open fun emit(eventType: String, properties: Map<String, Any>)

Emits and Event of EventType, provided the Component is allowed to do so. Will also pass along a set of String properties.

Parameters

eventType
properties