|
0
|
1 |
/* |
|
|
2 |
Copyright (c) 2009, Yahoo! Inc. All rights reserved. |
|
|
3 |
Code licensed under the BSD License: |
|
|
4 |
http://developer.yahoo.net/yui/license.txt |
|
|
5 |
version: 3.0.0b1 |
|
|
6 |
build: 1163 |
|
|
7 |
*/ |
|
|
8 |
YUI.add('overlay', function(Y) { |
|
|
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 WidgetPosition |
|
|
27 |
* @uses WidgetStack |
|
|
28 |
* @uses WidgetPositionExt |
|
|
29 |
* @uses WidgetStdMod |
|
|
30 |
* @param {Object} object The user configuration for the instance. |
|
|
31 |
*/ |
|
|
32 |
Y.Overlay = Y.Base.build("overlay", Y.Widget, [Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionExt, Y.WidgetStdMod]); |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
}, '3.0.0b1' ,{requires:['widget', 'widget-position', 'widget-stack', 'widget-position-ext', 'widget-stdmod']}); |