events

events

events

Event controller

Metadata

announce()

Broadcast an event

Arguments

Name Type Required Default Options Description
component string Yes Component to announce to
eventName string Yes Event to announce
stParams struct No [runtime expression] Event parameters

clearListenerCache()

Arguments

Name Type Required Default Options Description
None

getListenerCache()

Arguments

Name Type Required Default Options Description
None

getListeners()

Arguments

Name Type Required Default Options Description
component string Yes
cache boolean No true

init()

Arguments

Name Type Required Default Options Description
None