mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
36 lines
1.3 KiB
JavaScript
36 lines
1.3 KiB
JavaScript
/*
|
|
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
|
|
Code licensed under the BSD License:
|
|
http://developer.yahoo.com/yui/license.html
|
|
version: 3.2.0
|
|
build: 2676
|
|
*/
|
|
YUI.add('overlay', function(Y) {
|
|
|
|
/**
|
|
* 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.2.0' ,{requires:['widget', 'widget-stdmod', 'widget-position', 'widget-stack', 'widget-position-align', 'widget-position-constrain']});
|