Jump to content
Search Community

mstudio

Premium
  • Posts

    2
  • Joined

  • Last visited

About mstudio

mstudio's Achievements

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Jonathan, Thanks for the extremely thorough response. Much appreciated!! Alex
  2. I'm assuming the answer is no, but wanted to confirm: Is it possible to apply Draggable to the window object? I've tried the code below with no luck: Draggable.create(window, {type:"scrollLeft", edgeResistance:0.2, throwProps:false}); I'm assuming this doesn't work because "window" isn't an actual element. I've also tried using "html" as the element, but get the error: Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. The effect I'm going for is trying to create is using click+drag to scroll the window horizontally. I believe I can do this with standard JS but I love the effect that ThrowPropsPlugin adds. Thanks!
×
×
  • Create New...