Commit Graph

4303 Commits

Author SHA1 Message Date
Scott González
7249124d85 Droppable: Only calculate draggable proportions once, regardless of how many droppable instances there are. 2012-01-28 20:19:13 -05:00
Scott González
c5d029e83c Draggable demo: Updated the events demo. 2012-01-28 19:58:13 -05:00
Scott González
b15af6a193 Draggable: Removed start positions in event data. 2012-01-28 19:34:29 -05:00
Scott González
7e7e79adb9 Draggable demo: Updated visual-feedback demo. 2012-01-28 11:13:18 -05:00
Scott González
a1d312b3ed Draggable: Add ui-draggable class on init. 2012-01-28 11:12:54 -05:00
Scott González
d22a5281aa Draggable demo: Implemented revert option in revert demo. 2012-01-28 11:00:49 -05:00
Scott González
2eb9b841a3 Draggable demo: Implemented cancel option in handle demo. 2012-01-28 10:52:27 -05:00
Scott González
f5ceca740f Draggable demo: Implemented cursorAt option in cursor-style demo. 2012-01-28 10:45:55 -05:00
Scott González
a87c1dc068 Interaction: Added some comments. 2012-01-28 10:16:36 -05:00
Scott González
3c6e8a7b91 Draggable: Only pass relevant data for each event. 2012-01-27 22:17:27 -05:00
Scott González
87c55b69e4 Draggable: Added beforeStart event. 2012-01-27 22:06:37 -05:00
Scott González
9d7b71bc29 Interaction demos: Cleanup. 2012-01-27 21:11:22 -05:00
Scott González
17b0324c28 Interaction: Pass move and stop methods to the hooks. 2012-01-27 20:57:17 -05:00
Richard D. Worth
f5c2e29e16 Interaction demos: Added box demo 2012-01-26 14:04:01 -05:00
Richard D. Worth
c8b4be1381 Interaction: added missing file header 2012-01-26 11:14:57 -05:00
Richard D. Worth
2753173f40 Interaction demos: Added index and default 2012-01-26 11:11:16 -05:00
Richard D. Worth
d056a9ac2f Interaction: make _start not have to return true (an explicit return false will still cancel) 2012-01-26 11:02:54 -05:00
Scott González
7236f2935a Draggable: Added appendTo option. 2012-01-22 21:51:46 -05:00
Scott González
91bf052d81 Draggable demo: Fixed containment option. 2012-01-22 14:55:09 -05:00
Scott González
509a3a673c Draggable demo: Updated events demo to use interaction instead of mouse. 2012-01-20 22:10:30 -05:00
Scott González
7c9fd7a6d4 Draggable demos: Implement axis and containment options in constrain-movement demo. 2012-01-20 22:08:37 -05:00
Scott González
20e87070a6 Draggable: Don't change position on drag stop. 2012-01-20 22:07:52 -05:00
Scott González
30a12111d9 Draggable: Added start positions to ui hashes in events. 2012-01-20 21:17:11 -05:00
Scott González
266fb1e89e Draggable: Position helper in the same relative position as the original element, compared to the pointer. 2012-01-15 15:18:12 -05:00
Scott González
0e96a50231 Droppable: Account for draggable helper when calculating proportions. 2012-01-15 13:44:52 -05:00
Scott González
2c9ee0252d Droppable: Only react to drag events if they're not canceled. Fixed pointer intersection. 2012-01-15 13:35:23 -05:00
Scott González
003bbf42fc Draggable: Pass pointer position in the ui hash for all events. 2012-01-15 13:34:46 -05:00
Scott González
66a594ec76 Droppable: Added TODOs. 2012-01-15 13:08:41 -05:00
Scott González
178c21c0b4 Interaction: Rename position hash to pointerPosition and use x/y instead of left/top. 2012-01-15 12:57:39 -05:00
Scott González
3a90f455e6 Droppable: Refactored touch tolerance. 2012-01-15 12:49:44 -05:00
Scott González
d4bc923f56 Droppable: Fixed intersect tolerance. 2012-01-15 12:40:06 -05:00
Scott González
98795e3d91 Droppable: Use internal guid instead of jQuery.guid. 2012-01-15 11:52:01 -05:00
Scott González
b0fda0cd14 Draggable: Added handle option. 2012-01-14 16:15:02 -05:00
Scott González
d31f31cfa8 Interaction: Added _isValidTarget(), equivalent of _mouseCapture(). 2012-01-14 16:14:39 -05:00
Scott González
b9db636cbe Draggable: Cleanup. 2012-01-14 15:49:58 -05:00
Scott González
3077b608c8 Interaction: Ignore MSPointer events if they're initiated from a mouse, but not from the primary button. 2012-01-12 21:25:19 -05:00
Scott González
d6c3360dec Interaction: Added TODO for MSPointer. 2012-01-11 22:47:34 -05:00
Scott González
8f712d8928 Interaction: Save some bytes. 2012-01-11 22:34:46 -05:00
Scott González
3ffb6c6a2e Interaction: MSPointer: Optimize by ignoring MSPointerMove events with the same x/y coords as the previous event. 2012-01-11 22:31:39 -05:00
Scott González
f09288d18f Interaction: MSPointer: Prevent mouse event promotion. Properly retrieve x/y coordinates. Handle cancel events. 2012-01-11 22:04:41 -05:00
Scott González
a13894672a Interaction: Initiail MSPointer implementation. 2012-01-08 22:17:19 -05:00
Scott González
7332f0e0dd Interaction: Initial implementation of W3C Touch Events. 2012-01-08 22:01:29 -05:00
Scott González
a96232a591 Droppable: Removed interaction as dependency. 2012-01-08 21:54:49 -05:00
Scott González
c50c5c01ee Droppable: Hook directly into drag events. 2012-01-08 21:53:47 -05:00
Scott González
e41a10b559 Interaction: Normalize top/left coordinates in hooks. 2012-01-08 21:48:53 -05:00
Scott González
49ea77eff7 Draggable: Use pageX/Y instead of clientX/Y. 2012-01-08 15:21:20 -05:00
Scott González
726d3f67c2 Interaction: Fixed unbinding of mousemove and mouseup event handlers. 2012-01-07 20:49:49 -05:00
Scott González
ed463ab80c Merge branch 'master' into interactions 2012-01-07 20:49:06 -05:00
Scott González
3cf98e5ca1 Widget: Set guid on event handler proxies so direct unbinding works. 2012-01-07 20:48:42 -05:00
Scott González
5240f72293 Merge branch 'master' into interactions 2012-01-07 20:46:41 -05:00