You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.3 KiB
47 lines
1.3 KiB
2 years ago
|
/*
|
||
|
YUI 3.17.2 (build 9c3c78e)
|
||
|
Copyright 2014 Yahoo! Inc. All rights reserved.
|
||
|
Licensed under the BSD License.
|
||
|
http://yuilibrary.com/license/
|
||
|
*/
|
||
|
|
||
|
YUI.add('overlay', function (Y, NAME) {
|
||
|
|
||
|
/**
|
||
|
* Provides a basic Overlay widget, with Standard Module content support. The Overlay widget
|
||
|
* provides Page XY positioning support, alignment and centering support along with basic
|
||
|
* stackable support (z-index and shimming).
|
||
|
*
|
||
|
* @module overlay
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* A basic Overlay Widget, which can be positioned based on Page XY co-ordinates and is stackable (z-index support).
|
||
|
* It also provides alignment and centering support and uses a standard module format for it's content, with header,
|
||
|
* body and footer section support.
|
||
|
*
|
||
|
* @class Overlay
|
||
|
* @constructor
|
||
|
* @extends Widget
|
||
|
* @uses WidgetStdMod
|
||
|
* @uses WidgetPosition
|
||
|
* @uses WidgetStack
|
||
|
* @uses WidgetPositionAlign
|
||
|
* @uses WidgetPositionConstrain
|
||
|
* @param {Object} object The user configuration for the instance.
|
||
|
*/
|
||
|
Y.Overlay = Y.Base.create("overlay", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain]);
|
||
|
|
||
|
|
||
|
}, '3.17.2', {
|
||
|
"requires": [
|
||
|
"widget",
|
||
|
"widget-stdmod",
|
||
|
"widget-position",
|
||
|
"widget-position-align",
|
||
|
"widget-stack",
|
||
|
"widget-position-constrain"
|
||
|
],
|
||
|
"skinnable": true
|
||
|
});
|