forked from yui/yui3-gallery
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gallery-2010.06.02-20-36 liferay gallery-aui-overlay-base
- Loading branch information
YUI Builder
committed
Jun 2, 2010
1 parent
02ad380
commit 19e5005
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Build Properties | ||
|
||
#srcdir=../.. | ||
#global.src.component=${srcdir}/src/gallery-aui-overlay | ||
#global.build.component=${srcdir}/build/gallery-aui-overlay | ||
|
||
lint.skip=true | ||
yui.variable=A | ||
builddir=../../../builder/componentbuild | ||
component=gallery-aui-overlay-base | ||
component.jsfiles=gallery-aui-overlay-base.js | ||
component.requires=gallery-aui-component,widget-position,widget-stack,widget-position-align,widget-position-constrain,widget-stdmod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project name="AlloyComponent" default="local"> | ||
<property file="build.properties" /> | ||
|
||
<import file="${builddir}/3.x/bootstrap.xml" /> | ||
</project> |
25 changes: 25 additions & 0 deletions
25
src/gallery-aui-overlay-base/js/gallery-aui-overlay-base.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* 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 aui-overlay | ||
* @submodule aui-overlay-base | ||
*/ | ||
|
||
/** | ||
* 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 OverlayBase | ||
* @constructor | ||
* @extends Component | ||
* @uses WidgetStdMod | ||
* @uses WidgetPosition | ||
* @uses WidgetStack | ||
* @uses WidgetPositionAlign | ||
* @uses WidgetPositionConstrain | ||
* @param {Object} object The user configuration for the instance. | ||
*/ | ||
A.OverlayBase = A.Base.build('overlay', A.Component, [A.WidgetPosition, A.WidgetStack, A.WidgetPositionAlign, A.WidgetPositionConstrain, A.WidgetStdMod]); |