Flagrate API documentation

Home ▲
class-method

flagrate.Element.getDimensions

flagrate.Element.getDimensions(element) → Object

Finds the computed width and height of element and returns them as key/value pairs of an object.

This method is similar to http://api.prototypejs.org/dom/Element/getDimensions/