|
0
|
1 |
**** version 3.0.0 Beta1 ***
|
|
|
2 |
|
|
|
3 |
Added a plugin to support Window and Node based scrolling
|
|
|
4 |
|
|
|
5 |
var dd = new Y.DD.Drag({
|
|
|
6 |
node: '#drag'
|
|
|
7 |
}).plug(Y.plugin.DDWinScroll);
|
|
|
8 |
|
|
|
9 |
var dd = new Y.DD.Drag({
|
|
|
10 |
node: '#drag'
|
|
|
11 |
}).plug(Y.plugin.DDNodeScroll, {
|
|
|
12 |
node: '#some-parent-with-scroll'
|
|
|
13 |
});
|
|
|
14 |
|
|
|
15 |
Proxy and Constrained were moved to the plugin modal, there are some syntax changes:
|
|
|
16 |
|
|
|
17 |
PR2 - Proxy:
|
|
|
18 |
var dd = new Y.DD.Drag({
|
|
|
19 |
node: '#drag',
|
|
|
20 |
proxy: true,
|
|
|
21 |
moveOnEnd: false
|
|
|
22 |
});
|
|
|
23 |
|
|
|
24 |
Current - Proxy:
|
|
|
25 |
var dd = new Y.DD.Drag({
|
|
|
26 |
node: '#drag'
|
|
|
27 |
}).plug(Y.plugin.DDProxy, {
|
|
|
28 |
moveOnEnd: false
|
|
|
29 |
});
|
|
|
30 |
|
|
|
31 |
PR2 - Constrained:
|
|
|
32 |
var dd = new Y.DD.Drag({
|
|
|
33 |
node: '#drag',
|
|
|
34 |
constrain2node: '#wrap'
|
|
|
35 |
});
|
|
|
36 |
|
|
|
37 |
Current - Constrained:
|
|
|
38 |
var dd = new Y.DD.Drag({
|
|
|
39 |
node: '#drag'
|
|
|
40 |
}).plug(Y.plugin.DDConstrained, {
|
|
|
41 |
constrain2node: '#wrap'
|
|
|
42 |
});
|
|
|
43 |
|
|
|
44 |
Converted Everything to use setXY now that FF2 is not supported.
|
|
|
45 |
Performance tweaks to dragging over a target.
|
|
|
46 |
|
|
|
47 |
**** version 3.0.0 PR2 ***
|
|
|
48 |
|
|
|
49 |
Added bubbles config option to help with extending later.
|
|
|
50 |
Updated _checkRegion to perform Bottom, Top, Left, Right validation instead of Top, Bottom, Left, Right
|
|
|
51 |
|
|
|
52 |
**** version 3.0.0 PR1 ***
|
|
|
53 |
|
|
|
54 |
Known Issues:
|
|
|
55 |
|
|
|
56 |
Firefox 2.x:
|
|
|
57 |
Proxy Drags with handles inside an element with overflow: hidden will not target properly.
|
|
|
58 |
|
|
|
59 |
All:
|
|
|
60 |
Scrolling Module not available as of this release.
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
**** File Structure and Module Info ***
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
Source Files:
|
|
|
68 |
ddm-base.js ==> Base DragDrop Manager
|
|
|
69 |
ddm.js ==> Adds shim support
|
|
|
70 |
ddm-drop.js ==> Adds Drop support
|
|
|
71 |
drag.js ==> Main drag class
|
|
|
72 |
proxy.js ==> Adds proxy support to Drag
|
|
|
73 |
constrain.js ==> Adds constrain support to drag
|
|
|
74 |
scroll.js ==> Adds scroll support to drag
|
|
|
75 |
drop.js ==> Drop Support
|
|
|
76 |
dd-plugin.js ==> Node plugin for Drag
|
|
|
77 |
dd-drop-plugin.js ==> Node plugin for Drop
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
Module Names:
|
|
|
81 |
dd-ddm-base ==> Base DragDrop Manager
|
|
|
82 |
dd-ddm ==> Adds shim support
|
|
|
83 |
dd-ddm-drop ==> Adds Drop support
|
|
|
84 |
dd-drag ==> Main drag class
|
|
|
85 |
dd-proxy ==> Adds proxy support to Drag
|
|
|
86 |
dd-constrain ==> Adds constrain support to drag
|
|
|
87 |
dd-scroll ==> Adds scroll support to drag
|
|
|
88 |
dd-drop ==> Drop Support
|
|
|
89 |
dd-plugin ==> Node plugin for Drag
|
|
|
90 |
dd-drop-plugin ==> Node plugin for Drop
|
|
|
91 |
dd ==> All Drag & Drop related code
|
|
|
92 |
|
|
|
93 |
Build Files:
|
|
|
94 |
dd-ddm-base.js ==> Base DragDrop Manager
|
|
|
95 |
dd-ddm.js ==> Adds shim support
|
|
|
96 |
dd-ddm-drop.js ==> Adds Drop support
|
|
|
97 |
dd-drag.js ==> Main drag class
|
|
|
98 |
dd-proxy.js ==> Adds proxy support to Drag
|
|
|
99 |
dd-constrain.js ==> Adds constrain support to drag
|
|
|
100 |
dd-scroll.js ==> Adds scroll support to drag
|
|
|
101 |
dd-drop.js ==> Drop Support
|
|
|
102 |
dd-plugin.js ==> Node plugin for Drag
|
|
|
103 |
dd-drop-plugin.js ==> Node plugin for Drop
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
Rollup File:
|
|
|
107 |
dd.js ==> dd-ddm-base, dd-ddm, dd-ddm-drop, dd-drag, dd-proxy, dd-constrain, dd-scroll, dd-drop, dd-plugin, dd-drop-plugin
|
|
|
108 |
|