Skip to main content

User Interface - Interactions


User interactions (e.g. Mouse Click) can be used to execute an Action. This can be defined in Properties Panel new_interaction

Actions are just like Functions except that are driven by a Control Flow.

A Control Flow defines the order of execution of the sub-actions. edit_action

Exercise 5 – Reusable Header Action#

The goal of this exercise is to add a custom event named "On left button click" to the header so it is possible to define a custom action for each instance of the header when this event occurs. exercise_5_result

  1. Open UI Component “Header”
  2. In Context Editor, create 1 event named “On left button click”
  3. Add an Action on left button label which dispatch (trigger) event “On left button click”