new tart.mvc.MobileRenderer(layout, dom)
Name | Type | Description |
---|---|---|
layout |
tart.mvc.LayoutTemplate |
The default layout of the application. This layout will be used when an action chooses not to set its own layout. |
dom |
Element |
DOM element this renderer will render the application in. |
Extends
Methods
-
render(router)
-
Renders the final view; executing the action and putting the resulting view script in a related layout.
Name Type Description router
tart.mvc.uri.Router Application's router.