Methods initGlobal() Initializes global components specified via class="gcomponent" in html. initRouteView() Initializes components specified via class="component" in html.