DiviArea.Utils.getClientRect()

  1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Functions
  6. DiviArea.Utils.getClientRect()
DiviArea.Utils.getClientRect(elem)

Returns a rect for the first element in the jQuery object.

Params

elem
(jQuery, required) A jQuery element.

Returns

An object with details about the client rectangle (top, left, right, bottom, width, height).

Notes

No notes

Was this article helpful?

Related Articles