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
- autoResizeToolbars
- bottomToolbar
- classNames
- contentView
- defaultToolbarSize
- displayProperties
- largeToolbarSize
- masterIsHidden
- orientation
- renderDelegateName
- smallToolbarSize
- toolbarSize
- topToolbar
- Fields borrowed from SC.View:
- acceptsFirstResponder, acceptsMultitouch, ariaHidden, ariaRole, attributeBindings, autoMixins, backgroundColor, childViewLayout, childViewLayoutOptions, childViews, childViewsNeedLayout, classNameBindings, concatenatedProperties, createdByParent, designMode, enabledState, firstKeyView, hasLayout, hasTouch, hasVisibility, isBuildingIn, isBuildingOut, isChildViewLayoutLive, isEnabled, isFixedHeight, isFixedPosition, isFixedSize, isFixedWidth, isKeyResponder, isTextSelectable, isView, isVisible, lastKeyView, layerLocationNeedsUpdate, layerNeedsUpdate, layout, modeAdjust, nextKeyView, page, pane, parentView, previousKeyView, shouldInheritCursor, shouldInheritEnabled, tagName, themeName, toolTip, touchBoundary, transitionAdjust, transitionAdjustOptions, transitionHide, transitionHideOptions, transitionIn, transitionInOptions, transitionOut, transitionOutOptions, transitionShow, transitionShowOptions, useStaticLayout
- Fields borrowed from SC.Responder:
- hasFirstResponder, isFirstResponder, responderContext
- Fields borrowed from SC.Object:
- isDestroyed, isObject, nextProperty, object, property, target, toInvalidate
- Fields borrowed from SC.Observable:
- isObservable
Field Detail
autoResizeToolbars BooleanIf you want to automatically resize the toolbars like iPhone
apps should, set to YES
.
- Default value:
- NO
- Default value:
- null
- Default value:
- ['sc-workspace-view']
- See:
- SC.View#classNames
The content. Must NOT be null.
- Default value:
- SC.View
- Default value:
- 44
- Default value:
- "hasTopToolbar hasBottomToolbar".w()
- See:
- SC.View#displayProperties
- Default value:
- 44
- Default value:
- NO
Tracks the orientation of the view. Possible values:
SC.HORIZONTAL_ORIENTATION
SC.PORTRAIT_ORIENTATION
- Default value:
- SC.HORIZONTAL_ORIENTATION
- Default value:
- 'workspaceRenderDelegate'
- Default value:
- 30
- Default value:
- SC.ToolbarView
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)