Doubt reagarding output node in SSD

I read the document of the output node and understood that output node is created in the child page to send the data to the parent by emitting an event. How we can listen to that particular event which is emitted from the child. Using the page.input ?? if it is how we can access that
page.input.eventName like this ??
@Sam @Simphiwe

1 Like

Hi @Aswin,

Since output node emits an event then you need to define it first on Oninit Page Output Variable.
Then on the output node, the eventName will be the name you defined on Page Output Variable.
On your parent component, you can click the child component then click refresh, it will show an event which you can bind and pass $event to it.
That $event is your data from child.

  1. Define an Output onInit

  1. Event binding