| 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 layout. |
Insert the view domNode into the parent domNode based upon the constraints. It should layout the children in this order: top, left, center, right, bottom Unless it is rtl then it should layout the children in this order: top, right, center, left, bottom
| Parameter | Type | Description |
|---|---|---|
| event | Object | {"parent":parent, "view":view, "removeView": boolean}
|
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.
| 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 |
|---|---|---|
| w | undefined |
| 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);