style.transform

Classes


Public Protected Private

Global Functions

goog.style.transform.getTranslation(element) !goog.math.Coordinate
Returns the x,y translation component of any CSS transforms applied to the element, in pixels.
Arguments:
element : !Element
The element to get the translation of.
Returns: !goog.math.Coordinate  The CSS translation of the element in px.
code »
goog.style.transform.is3dSupported() boolean
Whether CSS3 transform translate3d() is supported. If the current browser supports this transform strategy.
Returns: boolean  Whether the current environment supports CSS3 transforms.
code »
goog.style.transform.isSupported() boolean
Whether CSS3 transform translate() is supported. IE 9 supports 2D transforms and IE 10 supports 3D transforms. IE 8 supports neither.
Returns: boolean  Whether the current environment supports CSS3 transforms.
code »
goog.style.transform.matrixConstructor_() ?function(new:CSSMatrix, string)
Gets the constructor for a CSSMatrix object.
Returns: ?function(new:CSSMatrix, string)  A constructor for a CSSMatrix object (or null).
code »
goog.style.transform.setTranslation(elementxy) boolean
Translates an element's position using the CSS3 transform property.
Arguments:
element : Element
The element to translate.
x : number
The horizontal translation.
y : number
The vertical translation.
Returns: boolean  Whether the CSS translation was set.
code »

Package style

Package Reference