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