The spObject serves as the fundamental node from which all other components within the system are derived. It functions as a pivotal cornerstone, providing a structural basis for the various elements that constitute the system's architecture. One of its core functionalities is the implementation of basic getters and setters, which facilitate the interaction with and manipulation of components that are intricately connected to it.


Furthermore, the spObject assumes a crucial role in orchestrating and managing several critical events that transpire within the system. These events are pivotal junctures in the application's lifecycle, each with its distinct purpose and impact. The spObject takes on the responsibility of ensuring that these events are appropriately triggered and executed, thus contributing to the coherent and efficient functioning of the entire system.

Events

Event

Trigger

onCreate

Occurs when a component gets created

onActivate

Occurs when a component enters the Activation state

onShow

Occurs when a component enters the Show state

onDestroy

Occurs when a component gets destroyed