Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 412 Bytes
<!DOCTYPE html>
<title>Creating a Draggable by Proxy Node</title>
<style>
#demo { width: 100px; height: 100px; border: 1px #000 solid; background: #d72; }
</style>
<div id="demo"></div>
<script src="http://yui.yahooapis.com/3.5.0/build/yui/yui-min.js"></script>
<script>
YUI().use('dd-drag', 'dd-proxy', function (Y) {
var dd = new Y.DD.Drag({ node: '#demo' });
dd.plug(Y.Plugin.DDProxy);
});
</script>
Something went wrong with that request. Please try again.