Class: SC.TemplatePane


Extends SC.Object.

SC.TemplatePane is a helper that will create a new pane based on a single root TemplateView.

function main() {
  MyApp.mainPane = SC.TemplatePane.append({
    layerId: 'my-root-id',
    templateName: 'app'
  })
}

Defined in: template.js

Since:
SproutCore 1.5

Field Summary

Class Methods

Class Method Detail

append(attrs)
Creates a new pane with a single TemplateView.
Parameters:
attrs Object
describes the pane to create
Returns:
SC.MainPane
the created pane
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)