Login to follow
Custom Events

Custom Events (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 11 December 2024 by OutSystems Labs
Custom Events

Custom Events (ODC)

Documentation
0.1.0

Set up a handler

Create a webblock

Drag an EventHandler widget onto your block


In the Placeholder_EventName, enter the desired name of the event as text.


Create an event handler for the EventHandler


Do something amazing in your handler. In my example, I have an if widget that shows the or and small version of an input variable. My Args are ‘big’ and ‘small’, but can be whatever you want (or custom JSON)


Trigger an event

Place your webblock on a page and give it a name. In my example, I named it BigSmall


Call the Trigger client action from the CustomEvent reference