Skip to main content

Component Editor - Event

The 'Event' section of the Component Editor plays a crucial role in WEVY. Here, you can set actions based on the events triggered by the components, allowing you to craft diverse logics.


Selecting an Event

Select Action

First, decide on which event you wish to set an action for. Each component might offer different events. Refer to the component's documentation to understand the data passed by each event.


Setting an Action

Select Action

Once you've selected an event, determine the action that should be taken when the event occurs.

  • Store Data: Modify values stored in the data store.
  • System Actions:
    • Call API: Call the configured API.
    • Alert: Display a warning message.
    • Toast: Show a brief message.
    • Navigate: Move to another page.

If you choose 'Store Data', you'll need to specify the value that should be stored. Refer to the data binding methods for guidance.