Sha256: 61a21e24dafd939099813f09125f650b996e128a7c68cb9f5f9bdb66ce2eee52
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
// ========================================================================== // Project: SproutCore - JavaScript Application Framework // Copyright: ©2006-2009 Sprout Systems, Inc. and contributors. // portions copyright @2009 Apple, Inc. // License: Licened under MIT license (see license.js) // ========================================================================== sc_require('panes/panel'); /** Displays a modal sheet pane animated drop down from top. The default way to use the sheet pane is to simply add it to your page like this: {{{ SC.SheetPane.create({ contentView: SC.View.extend({ layout: { width: 400, height: 200, centerX: 0 } }) }).append(); }}} This will cause your sheet panel to display. The default layout for a Sheet is to cover the entire document window with a semi-opaque background, and to resize with the window. @extends SC.PanelPane @since SproutCore 1.0 */ SC.SheetPane = SC.PanelPane.extend({ classNames: 'sc-sheet', init: function() { sc_super() ; /** TODO: Implement Anition this.visibleAnimation = { visible: 'top: 0px', hidden: 'top: -500px', duration: 300 } ; */ } });
Version data entries
2 entries across 2 versions & 1 rubygems