API Docs for: v0.8.0
Show:

Coords Class

Creates objects with coordinates (x1, y1, x2, y2, cx, cy, width, height) to simulate DOM elements on the screen. Coords is used by Gridster to create a faux grid with any DOM element can collide.

Constructor

Coords

(
  • obj
)
Object

Parameters:

  • obj HTMLElement | Object

    The jQuery HTMLElement or a object with: left, top, width and height properties.

Returns:

Object:

Coords instance.

Item Index