Jump to content

Ron Itelman

  • Posts

  • Joined

  • Last visited

Ron Itelman's Achievements


Newbie (1/14)



  1. Currently I have a draggable item that alters the item beneath it when hitTest is true. I use 'throwComplete' because using onDragEnd sometime triggers both the element the item originated on AND the item the draggable ends up on (I'm using snap). I only want the element that the draggable element will end up on, and throwComplete works correctly for this. However, it takes about .5 of a second for the throwComplete to be triggered. I tried 'autoScroll: 2', but that didn't seem to make a difference. Any tips? Thanks!
  2. ahhh thanks. Also, impressed with the surprisingly quick support! Truly great customer experience with you guys.
  3. Hello, I have a simple object I would like to 'throw' to simulate a scroll on a mobile device. While the object can be dragged, the throw simulation does not appear to be. Are their certain controls I am missing? Draggable.create("#square", { lockAxis:true, type:"y", onDrag:function( ){ }, throwProps:true }); //I am using these libraries: <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.1/TweenLite.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.1/utils/Draggable.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.1/plugins/CSSPlugin.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.1/TweenMax.min.js"></script>
  4. I am unable to get the transformOrigin property to be centered within the object. It is being set to 0px 0px regardless of whether I have a 'transformOrigin' property defined or not. The codepen illustrates this issue: https://codepen.io/ron-itelman/pen/xzqMWN?editors=1010
  5. Hello, I would like to achieve something like the attached codepen with the following modifications, and using the TweenLite.min.js and the MorphSVGPlugin.min.js file. When the circles comes our of the center parent circle, I would like to morph circles into something else using MorphSVGPlugin, like a square. Any tips on how to create this effect?