Jump to content
Search Community

egekhter

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by egekhter

  1. Love the product, first time posting.

     

    I couldn't find in the docs if there was a method to detect if the draggable object moved left or right (or up or down).

     

    I was calculating using onDragEnd 

     

    document.getElementById('draggableobject').offsetLeft - this.pointerX

     

    In some cases I had moved the element to the right just a teeny bit but received a negative number from the calculation above.

     

    Any advice would be appreciated.

×
×
  • Create New...