Sha256: d63ea71bc9e3bd77293b2ed8dc4f8b62ae5c19616d82b69da720117c6ce9d7e2
Contents?: true
Size: 1 KB
Versions: 15
Compression:
Stored size: 1 KB
Contents
// ========================================================================== // Project: SproutCore - JavaScript Application Framework // Copyright: ©2006-2011 Strobe Inc. and contributors. // Portions ©2008-2011 Apple Inc. All rights reserved. // License: Licensed under MIT license (see license.js) // ========================================================================== SC.BaseTheme.menuScrollerRenderDelegate = SC.RenderDelegate.create({ className: 'menu-scroller', render: function (dataSource, context) { this.addSizeClassName(dataSource, context); context.addClass({ 'sc-vertical': YES, disabled: !dataSource.get('isEnabled') }); context.push('<span class="scrollArrow ' + (dataSource.get('scrollDown') ? 'arrowDown' : 'arrowUp') + '"> </span>'); }, update: function (dataSource, context) { this.addSizeClassName(dataSource, context); context.addClass({ 'sc-vertical': YES, disabled: !dataSource.get('isEnabled') }); } });
Version data entries
15 entries across 15 versions & 1 rubygems