Function: fire()
fire(
component
,eventTarget
,eventName
,data
):EventBus
Defined in: packages/react-page-renderer/src/componentHelpers.ts:147
Creates and sends a new IMA.js DOM custom event from the provided component.
Parameters
component
The component at which's root element the event will originate.
AbstractComponent
| AbstractPureComponent
eventTarget
EventTarget
eventName
string
The name of the event.
data
unknown
= null
Data to send within the event.