dom.js
No description.

File Location

/goog/fx/dom.js

Classes

goog.fx.dom.BgColorTransform
Provides a transformation of an elements background-color. Start and End should be 3D arrays representing R,G,B
goog.fx.dom.ColorTransform
Provides a transformation of an elements color.
goog.fx.dom.Fade
Creates an animation object that fades the opacity of an element between two limits. Start and End should be floats between 0 and 1
goog.fx.dom.FadeIn
Fades an element in from completely transparent to fully opacity.
goog.fx.dom.FadeInAndShow
Sets an element's display to be visible and then fades an element in from completely transparent to fully opaque.
goog.fx.dom.FadeOut
Fades an element out from full opacity to completely transparent.
goog.fx.dom.FadeOutAndHide
Fades an element out from full opacity to completely transparent and then sets the display to 'none'
goog.fx.dom.PredefinedEffect
Abstract class that provides reusable functionality for predefined animations that manipulate a single DOM element
goog.fx.dom.Resize
Creates an animation object that will resize an element between two widths and heights. Start and End should be 2 dimensional arrays
goog.fx.dom.ResizeHeight
Creates an animation object that will resize an element between two heights Start and End should be numbers
goog.fx.dom.ResizeWidth
Creates an animation object that will resize an element between two widths Start and End should be numbers
goog.fx.dom.Scroll
Creates an animation object that will scroll an element from A to B. Start and End should be 2 dimensional arrays
goog.fx.dom.Slide
Creates an animation object that will slide an element from A to B. (This in effect automatically sets up the onanimate event for an Animation object) Start and End should be 2 dimensional arrays
goog.fx.dom.SlideFrom
Slides an element from its current position.
goog.fx.dom.Swipe
Creates an animation object that will slide an element into its final size. Requires that the element is absolutely positioned.

Public Protected Private

Global Functions

goog.fx.dom.bgColorFadeIn(elementstarttimeopt_eventHandler)
Fade elements background color from start color to the element's current background color. Start should be a 3D array representing R,G,B
Arguments:
element : Element
Dom Node to be used in the animation.
start : Array.<number>
3D Array for RGB of start color.
time : number
Length of animation in milliseconds.
opt_eventHandler : goog.events.EventHandler=
Optional event handler to use when listening for events.
code »
goog.fx.dom.bgColorFadeIn&setBgColor()
No description.
code »

Directory fx

File Reference