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

Methods borrowed from SC.Object:
activate, awake, deactivate, destroy, emitDesign, encodeDesign, init, instanceOf, invokeLast, invokeLater, invokeNext, invokeOnce, invokeOnceLater, invokeWith, kindOf, mixin, notifyPropertyDidChange, respondsTo, superclass, toString, tryToPerform
Methods borrowed from SC.Observable:
addObserver, addObservesHandler, addProbe, allPropertiesDidChange, automaticallyNotifiesObserversFor, beginPropertyChanges, bind, decrementProperty, destroyObservable, didChangeFor, endPropertyChanges, get, getEach, getPath, hasObserverFor, incrementProperty, initObservable, logProperty, notifyPropertyChange, observersForKey, propertyDidChange, propertyWillChange, registerDependentKey, removeObserver, removeObservesHandler, removeProbe, set, setIfChanged, setPath, setPathIfChanged, toggleProperty, unknownProperty

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 Tue Feb 03 2015 13:12:20 GMT+0100 (CET)