Class: SC.NavigationView
Extends
SC.WorkspaceView.
NavigationView is very loosely based on UINavigationController: that is, it implements a push/pop based API.
NavigationView checks if the view is NavigationBuildable--that is, if it has
Views may specify a topToolbar
or bottomToolbar
property. These will become the
top or bottom toolbars of the NavigationView (which is, incidentally, a WorkspaceView).
Of course, this process is animated...
Defined in: navigation.js
- Since:
- SproutCore 1.4
Field Summary
- Fields borrowed from SC.WorkspaceView:
- 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
Instance Methods
Field Detail
navigationContentView SC.View- Default value:
- SC.View
Instance Method Detail
pop()
Pops the current view off the navigation view stack.
popToView(toView)
Pops to the specified view on the navigation view stack; the view you pass will become the current view.
- Parameters:
- toView SC.View
- The view to display
push(view)
Pushes a view into the navigation view stack. The view may have topToolbar and bottomToolbar properties.
- Parameters:
- view SC.View
- The view to display
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)