Sha256: 70f2e6e669da66a8f7923613d18a24dc5041ac43efece9d10b04f68ff7d2d1c7
Contents?: true
Size: 1.21 KB
Versions: 9
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({ layout: { width: 400, height: 200, centerX: 0 }, contentView: SC.View.extend({ }) }).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 Animation this.visibleAnimation = { visible: 'top: 0px', hidden: 'top: -500px', duration: 300 } ; */ } });
Version data entries
9 entries across 9 versions & 1 rubygems