Class: SC.DisclosureView
Extends
SC.ButtonView.
Disclosure triangle button. As a subclass of SC.ButtonView
, this view
takes a lot of the same properties as a button:
isEnabled
: whether disclosure triangle is clickable or not- value:
YES
orNO
(whereYES
implies expanded/open)
A disclosure view also supports expanding and collapsing via the keyboard.
Defined in: disclosure.js
- Since:
- SproutCore 1.0
Field Summary
- Fields borrowed from SC.ButtonView:
- action, ariaRole, autoResizePadding, contentIconKey, contentTitleKey, displayProperties, escapeHTML, icon, isCancel, isDefault, keyEquivalent, localize, needsEllipsis, supportFocusRing, target, themeName, title, value
- Fields borrowed from SC.View:
- acceptsMultitouch, ariaHidden, 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, 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, toInvalidate
- Fields borrowed from SC.Observable:
- isObservable
- Fields borrowed from SC.Control:
- controlSize, errorLabel, fieldKey, fieldLabel, isActive, isControl, isSelected
Field Detail
buttonBehavior String- Default value:
- SC.TOGGLE_BEHAVIOR
- See:
- SC.ButtonView#buttonBehavior
- Default value:
- ['sc-disclosure-view']
- See:
- SC.View#classNames
- Default value:
- 'disclosureRenderDelegate'
The value that will be set when the disclosure triangle is toggled closed.
- Default value:
- YES
This is the value that will be set when the disclosure triangle is toggled open.
- Default value:
- YES
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:20 GMT-0600 (CST)