2 Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.com/yui/license.html
8 YUI.add('overlay', function(Y) {
11 * Provides a basic Overlay widget, with Standard Module content support. The Overlay widget
12 * provides Page XY positioning support, alignment and centering support along with basic
13 * stackable support (z-index and shimming).
19 * A basic Overlay Widget, which can be positioned based on Page XY co-ordinates and is stackable (z-index support).
20 * It also provides alignment and centering support and uses a standard module format for it's content, with header,
21 * body and footer section support.
27 * @uses WidgetPosition
29 * @uses WidgetPositionAlign
30 * @uses WidgetPositionConstrain
31 * @param {Object} object The user configuration for the instance.
33 Y.Overlay = Y.Base.create("overlay", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain]);
36 }, '3.3.0' ,{requires:['widget', 'widget-stdmod', 'widget-position', 'widget-stack', 'widget-position-align', 'widget-position-constrain']});