1 |
efrain |
1 |
YUI.add('overlay', function (Y, NAME) {
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Provides a basic Overlay widget, with Standard Module content support. The Overlay widget
|
|
|
5 |
* provides Page XY positioning support, alignment and centering support along with basic
|
|
|
6 |
* stackable support (z-index and shimming).
|
|
|
7 |
*
|
|
|
8 |
* @module overlay
|
|
|
9 |
*/
|
|
|
10 |
|
|
|
11 |
/**
|
|
|
12 |
* A basic Overlay Widget, which can be positioned based on Page XY co-ordinates and is stackable (z-index support).
|
|
|
13 |
* It also provides alignment and centering support and uses a standard module format for it's content, with header,
|
|
|
14 |
* body and footer section support.
|
|
|
15 |
*
|
|
|
16 |
* @class Overlay
|
|
|
17 |
* @constructor
|
|
|
18 |
* @extends Widget
|
|
|
19 |
* @uses WidgetStdMod
|
|
|
20 |
* @uses WidgetPosition
|
|
|
21 |
* @uses WidgetStack
|
|
|
22 |
* @uses WidgetPositionAlign
|
|
|
23 |
* @uses WidgetPositionConstrain
|
|
|
24 |
* @param {Object} object The user configuration for the instance.
|
|
|
25 |
*/
|
|
|
26 |
Y.Overlay = Y.Base.create("overlay", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain]);
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
}, '3.18.1', {
|
|
|
30 |
"requires": [
|
|
|
31 |
"widget",
|
|
|
32 |
"widget-stdmod",
|
|
|
33 |
"widget-position",
|
|
|
34 |
"widget-position-align",
|
|
|
35 |
"widget-stack",
|
|
|
36 |
"widget-position-constrain"
|
|
|
37 |
],
|
|
|
38 |
"skinnable": true
|
|
|
39 |
});
|