# Yahoo! UI Library

### overlay 3.0.0

Yahoo! UI Library > overlay > Overlay.js (source view)
Search:
Filters Show Private Show Protected Show Deprecated

    /**
     * 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 WidgetPosition
     * @uses WidgetStack
     * @uses WidgetPositionExt
     * @uses WidgetStdMod
     * @param {Object} object The user configuration for the instance.
     */
    Y.Overlay = Y.Base.build("overlay", Y.Widget, [Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionExt, Y.WidgetStdMod]);

Copyright © 2009 Yahoo! Inc. All rights reserved.