proxy-drag-source.mustache revision 5b139d58acfcae4b1bcab5a895706abafc2a87a0
7042N/A<style>
7042N/A #demo {
7042N/A height: 100px;
7042N/A width: 100px;
7042N/A border: 1px solid black;
7042N/A background-color: #8DD5E7;
7042N/A cursor: move;
7042N/A }
7042N/A</style>
7042N/A
7042N/A<div id="demo">Drag Me</div>
7042N/A
7042N/A<script>
7042N/A
7042N/AYUI().use('dd-drag', 'dd-proxy', function(Y) {
7042N/A var dd = new Y.DD.Drag({
7042N/A //Selector of the node to make draggable
7042N/A node: '#demo'
7042N/A }).plug(Y.Plugin.DDProxy); //This config option makes the node a Proxy Drag
7042N/A});
7042N/A</script>
7042N/A