| Parameter | Type | Description |
|---|---|---|
| app | undefined | dojox/app application instance. |
| events | undefined | {event : handler} |
do view layout.
| Parameter | Type | Description |
|---|---|---|
| view | Object | view instance needs to do layout. |
resize view.
| Parameter | Type | Description |
|---|---|---|
| view | Object | view instance needs to do resize. |
Bind event on dojo/Evented instance, document, domNode or window. Save event signal in controller instance. If no parameter is provided automatically bind all events registered in controller events property.
| Parameter | Type | Description |
|---|---|---|
| evented | Object | dojo/Evented instance, document, domNode or window |
| event | String | event |
| handler | Function | event handler |
Bind event on dojo/Evented instance, document, domNode or window. Save event signal in controller instance. If no parameter is provided automatically bind all events registered in controller events property.
| Parameter | Type | Description |
|---|---|---|
| view | undefined |
Response to dojox/app "app-initLayout" event which is setup in LayoutBase. The initLayout event is called once when the View is being created the first time.
| Parameter | Type | Description |
|---|---|---|
| event | Object | {"view": view, "callback": function(){}};
|
Use emit to trigger "app-initLayout" event, and this function will respond to the event. For example:
this.app.emit("app-initLayout", view);
Response to dojox/app "app-layoutView" event.
| Parameter | Type | Description |
|---|---|---|
| event | Object | {"parent":parent, "view":view, "removeView": boolean}
|
Use emit to trigger "app-layoutView" event, and this function will response the event. For example:
this.app.emit("app-layoutView", view);
| Parameter | Type | Description |
|---|---|---|
| view | undefined |
remove a binded event signal.
| Parameter | Type | Description |
|---|---|---|
| evented | Object | dojo/Evented instance, document, domNode or window |
| event | String | event |
remove a binded event signal.
Use emit to trigger "app-layoutView" event, and this function will response the event. For example:
this.app.emit("app-layoutView", view);