Commit Graph

2405 Commits

Author SHA1 Message Date
Dave Stein
cac6901799 Droppable: Fixed reference to function name after change in 69b1df33f7 2012-01-29 19:54:56 -05:00
Scott González
69b1df33f7 Droppable: Renamed refreshPosition() to refresh(). 2012-01-29 13:08:38 -05:00
Scott González
74e2828ea0 Droppable: Added activate and deactivate events. 2012-01-29 13:04:40 -05:00
Scott González
8ebdba7346 Droppable: Added accept option. 2012-01-29 12:48:09 -05:00
Scott González
97af9236c2 Droppable: Use .outerWidth() and .outerHeight() when calculating proportions. 2012-01-28 20:20:26 -05:00
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
b15af6a193 Draggable: Removed start positions in event data. 2012-01-28 19:34:29 -05:00
Scott González
a1d312b3ed Draggable: Add ui-draggable class on init. 2012-01-28 11:12:54 -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
17b0324c28 Interaction: Pass move and stop methods to the hooks. 2012-01-27 20:57:17 -05:00
Richard D. Worth
c8b4be1381 Interaction: added missing file header 2012-01-26 11:14:57 -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
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
Scott González
122b463c44 Droppable: Cleanup. 2012-01-07 20:45:10 -05:00
Scott González
66d11338a9 Draggable: Fixed comments about events. 2012-01-07 20:44:51 -05:00
Scott González
247c29ee93 Draggable, Droppable: Updated dependencies. 2012-01-07 12:20:49 -05:00
Scott González
b7a0c6a4cf Draggable: Cleanup. 2012-01-07 12:18:08 -05:00
Scott González
43a93e5c33 Droppable: Cleanup. 2012-01-07 11:55:33 -05:00
Scott González
31ebe7e7da Spinner: Allow strings for min, max, and step options, converting immediately to numbers based on numberFormat and culture. 2012-01-07 09:12:27 -05:00