Class: SC.MainPane


Extends SC.Pane.

Most SproutCore applications have a main pane, which dominates the application page. You can extend from this view to implement your own main pane. This class will automatically make itself main whenever you append it to a document, removing any other main pane that might be currently in place. If you do have another already focused as the keyPane, this view will also make itself key automatically. The default way to use the main pane is to simply add it to your page like this:

SC.MainPane.create().append();

This will cause your root view to display. The default layout for a MainPane is to cover the entire document window and to resize with the window.

Defined in: main.js

Since:
SproutCore 1.0

Field Summary

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:20 GMT-0600 (CST)