~ubuntu-branches/ubuntu/utopic/moodle/utopic

« back to all changes in this revision

Viewing changes to lib/yuilib/3.9.1/build/overlay/overlay.js

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-05-12 16:10:38 UTC
  • mfrom: (36.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140512161038-puyqf65k4e0s8ytz
Tags: 2.6.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

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