The load event handler
The load function performs initialization
logic before the view loads.
Usage
Theload function is
the initial logic that runs as soon as the view is launched. The load method
of the view is only called once during the lifecycle of the view.
Use load to perform initialization such as defining
variables.Parameters
Theload event
handler does not take any parameters.