goog.style.transform
Functions
expand_more
getRotation( element ) → number
number
Returns the rotation CSS transform applied to the element.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
expand_more
getScale( element ) → goog.math.Coordinate3
goog.math.Coordinate3
Returns the scale of the x, y and z dimensions of CSS transforms applied to the element.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
expand_more
getTranslation( element ) → goog.math.Coordinate
goog.math.Coordinate
Returns the x,y translation component of any CSS transforms applied to the element, in pixels.
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
expand_more
setRotation( element, degrees ) → boolean
boolean
expand_more
setScale( element, x, y, z ) → boolean
boolean
expand_more
setTranslation( element, x, y ) → boolean
boolean
Translates an element's position using the CSS3 transform property. NOTE: This replaces all other transforms already defined on the element.
Parameters |
| ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|