i
Events
Entities, their sections, and their elements have different events defined. These events are displayed in the area of page code, where code can be entered, allowing it to execute when a specific event occurs.
Event |
Description |
---|---|
onInit() |
It is executed before loading the entity. |
afterViewInit() |
It is executed after rendering the entity. |
beforeViewUnload() |
It is executed before closing the entity. |
Sections
Event |
Description |
---|---|
onMouseIn() |
It is executed when the cursor is positioned on the element. |
onMouseOut() |
It is executed when the cursor moves out of the element. |
onClick() |
It is executed when clicking on the element. |
onDoubleClick() |
It is executed when clicking twice on the element. |
onInit() |
It is executed before the element is loaded. |
afterViewInit() |
It is executed after viewing the element. |
onViewportEnter() |
It is executed when the element is visible. |
onViewportLeave() |
It is executed when the element is no longer visible. |
Elements
The events shared by all elements are detailed.
Event |
Description |
---|---|
onMouseIn() |
It is executed when the cursor is positioned on the element. |
onMouseOut() |
It is executed when the cursor moves out of the element. |
onClick() |
It is executed when clicking on the element. |
onDoubleClick() |
It is executed when clicking twice on the element. |
onInit() |
It is executed before the element is loaded. |
afterViewInit() |
It is executed after viewing the element. |
onViewportEnter() |
It is executed when the element is visible. |
onViewportLeave() |
It is executed when the element is no longer visible. |
Button
The events shared by all fields are detailed.
Event |
Description |
---|---|
onInit() |
It is executed before loading the entity. |
afterViewInit() |
It is executed after rendering the entity. |
beforeViewUnload() |
It is executed before closing the entity. |