Merge branch 'MDL-32509' of git://github.com/danpoltawski/moodle
[moodle.git] / lib / yui / 3.5.0 / build / overlay / overlay.js
blob11fb3b14cd4596a0ed1393174396e890149e93a6
1 /*
2 YUI 3.5.0 (build 5089)
3 Copyright 2012 Yahoo! Inc. All rights reserved.
4 Licensed under the BSD License.
5 http://yuilibrary.com/license/
6 */
7 YUI.add('overlay', function(Y) {
9 /**
10  * Provides a basic Overlay widget, with Standard Module content support. The Overlay widget
11  * provides Page XY positioning support, alignment and centering support along with basic 
12  * stackable support (z-index and shimming).
13  *
14  * @module overlay
15  */
17 /**
18  * A basic Overlay Widget, which can be positioned based on Page XY co-ordinates and is stackable (z-index support).
19  * It also provides alignment and centering support and uses a standard module format for it's content, with header,
20  * body and footer section support.
21  *
22  * @class Overlay
23  * @constructor
24  * @extends Widget
25  * @uses WidgetStdMod
26  * @uses WidgetPosition
27  * @uses WidgetStack
28  * @uses WidgetPositionAlign
29  * @uses WidgetPositionConstrain
30  * @param {Object} object The user configuration for the instance.
31  */
32 Y.Overlay = Y.Base.create("overlay", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain]);
35 }, '3.5.0' ,{requires:['widget', 'widget-stdmod', 'widget-position', 'widget-stack', 'widget-position-align', 'widget-position-constrain']});