Class: SC.MenuScrollerView


Extends SC.ScrollerView.

Implements a complete scroller view for menus. This class implements the arrows displayed in a menu to scroll.

The main difference with SC.ScrollerView is that there is only vertical scrollers. Value Syncing between SC.MenuScrollView and SC.MenuScrollerView is done using valueBinding.

Defined in: menu_scroller_view.js

Since:
SproutCore 1.0

Field Summary

Fields borrowed from SC.ScrollerView:
buttonLength, buttonOverlap, capLength, capOverlap, hasButtons, isEnabled, layoutDirection, maximum, minimum, minimumThumbLength, proportion, scrollbarThickness, shouldScrollToClick, value
Fields borrowed from SC.View:
acceptsFirstResponder, acceptsMultitouch, ariaHidden, ariaRole, attributeBindings, autoMixins, backgroundColor, childViewLayout, childViewLayoutOptions, childViews, childViewsNeedLayout, classNameBindings, concatenatedProperties, createdByParent, designMode, displayProperties, enabledState, firstKeyView, hasLayout, hasTouch, hasVisibility, isBuildingIn, isBuildingOut, isChildViewLayoutLive, isFixedHeight, isFixedPosition, isFixedSize, isFixedWidth, isKeyResponder, isTextSelectable, isView, isVisible, lastKeyView, layerLocationNeedsUpdate, layerNeedsUpdate, layout, modeAdjust, nextKeyView, page, pane, parentView, previousKeyView, renderDelegateName, 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

classNames Array
Default value:
['sc-menu-scroller-view']
See:
SC.View#classNames
SC.MenuScrollerView.HUGE_SCROLLER_THICKNESS Number
Default value:
26
SC.MenuScrollerView.LARGE_SCROLLER_THICKNESS Number
Default value:
23
SC.MenuScrollerView.REGULAR_SCROLLER_THICKNESS Number
Default value:
18
scrollDown Boolean
Used to set the scrolling direction of the scroller.
Default value:
false
SC.MenuScrollerView.SMALL_SCROLLER_THICKNESS Number
Default value:
14
SC.MenuScrollerView.TINY_SCROLLER_THICKNESS Number
Default value:
10
verticalLineScroll Number
Amount to scroll one vertical line.
Default value:
20
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:20 GMT-0600 (CST)