Sha256: e935345fbba6f3c1b612a2e551d12b06dfdd47bfa1495e3d76e3c64410946bc3

Contents?: true

Size: 836 Bytes

Versions: 24

Compression:

Stored size: 836 Bytes

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)
// ==========================================================================


/**
 * Renders and updates the HTML representation of a popup button.
 */
SC.BaseTheme.popupButtonRenderDelegate = SC.RenderDelegate.create({
  render: function(dataSource, context) {
    context.attr('aria-haspopup', 'true');
    dataSource.get('theme').buttonRenderDelegate.render(dataSource, context);
  },

  update: function(dataSource, jQuery) {
    dataSource.get('theme').buttonRenderDelegate.update(dataSource, jQuery);
  }
});

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
sproutcore-1.7.1.beta-java lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.7.1.beta lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.1-java lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.1 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.1-x86-mingw32 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0-java lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.rc.2-x86-mingw32 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.rc.2 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.rc.2-java lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.rc.1-x86-mingw32 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.rc.1 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.rc.1-java lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.beta.3-x86-mingw32 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.beta.3-java lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.beta.3 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.beta.2-x86-mingw32 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.beta.2-java lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.beta.2 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js
sproutcore-1.6.0.beta.1 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/popup_button.js