equal
deleted
inserted
replaced
|
1 /* |
|
2 YUI 3.10.3 (build 2fb5187) |
|
3 Copyright 2013 Yahoo! Inc. All rights reserved. |
|
4 Licensed under the BSD License. |
|
5 http://yuilibrary.com/license/ |
|
6 */ |
|
7 |
|
8 YUI.add('overlay', function (Y, NAME) { |
|
9 |
|
10 /** |
|
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). |
|
14 * |
|
15 * @module overlay |
|
16 */ |
|
17 |
|
18 /** |
|
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. |
|
22 * |
|
23 * @class Overlay |
|
24 * @constructor |
|
25 * @extends Widget |
|
26 * @uses WidgetStdMod |
|
27 * @uses WidgetPosition |
|
28 * @uses WidgetStack |
|
29 * @uses WidgetPositionAlign |
|
30 * @uses WidgetPositionConstrain |
|
31 * @param {Object} object The user configuration for the instance. |
|
32 */ |
|
33 Y.Overlay = Y.Base.create("overlay", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain]); |
|
34 |
|
35 |
|
36 }, '3.10.3', { |
|
37 "requires": [ |
|
38 "widget", |
|
39 "widget-stdmod", |
|
40 "widget-position", |
|
41 "widget-position-align", |
|
42 "widget-stack", |
|
43 "widget-position-constrain" |
|
44 ], |
|
45 "skinnable": true |
|
46 }); |