Class: SC.WorkspaceView


Extends SC.View.

WorkspaceView manages a content view and two optional toolbars (top and bottom). You want to use WorkspaceView in one of two situations: iPhone apps where the toolbars need to change size automatically based on orientation (this does that, isn't that handy!) and iPad apps where you would like the masterIsHidden property to pass through.

Defined in: workspace.js

Since:
SproutCore 1.2

Field Summary

Field Detail

autoResizeToolbars Boolean

If you want to automatically resize the toolbars like iPhone apps should, set to YES.

Default value:
NO
bottomToolbar SC.View
Default value:
null
classNames Array
Default value:
['sc-workspace-view']
See:
SC.View#classNames
contentView SC.View
The content. Must NOT be null.
Default value:
SC.View
defaultToolbarSize Number
Default value:
44
displayProperties Array
Default value:
"hasTopToolbar hasBottomToolbar".w()
See:
SC.View#displayProperties
largeToolbarSize Number
Default value:
44
masterIsHidden Boolean
Default value:
NO
orientation String

Tracks the orientation of the view. Possible values:

  • SC.HORIZONTAL_ORIENTATION
  • SC.PORTRAIT_ORIENTATION
Default value:
SC.HORIZONTAL_ORIENTATION
renderDelegateName String
Default value:
'workspaceRenderDelegate'
smallToolbarSize Number
Default value:
30
toolbarSize Number
topToolbar SC.View
Default value:
SC.ToolbarView
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)