You can set conditions and call an event for an element from the Events tab.
To create an event:
- Select the element for which you want to create an event.
- From the Event drop-down, select an event.
- From the Function drop-down, select a function.
- Click Add.
