Engine Lifecycle
From creating the engine to termination, it goes through processes such as creating elements, starting the engine, initial layout, engine ready, first render, view ready, multiple render lifecycles, stop/restart, destruction, and more—forming the lifecycle of an engine.
Example
Different states in the lifecycle are notified through LeaferEvent. You can also listen to these events via the Leafer instance to implement your own product logic.
Listen to ready event
ts