Ext.app.Controller.onLaunch方法介绍。

来源:互联网 发布:隔音窗户 知乎 编辑:程序博客网 时间:2024/06/14 14:13

译自:http://docs.sencha.com/extjs/4.2.3/#!/api/Ext.app.Controller-method-onLaunch


onLaunch( application )TEMPLATE

A template method like init, but called after the viewport is created. This is called after the launch method of Application is executed.

This is a template method. a hook into the functionality of this class. Feel free to override it in child classes.

Parameters

  • application : Ext.app.Application


这是一个模板方法类似于init方法,但是会在viewport创建之后,应用的launch方法执行后被自动调用。


0 0
原创粉丝点击