1787N/A<p>This example shows a simple drag interaction that doesn't require a drop interaction.</p>
1787N/A<h3>Setting up the Node</h3>
1787N/A<p>First we need to create an HTML Node to make draggable.</p>
1787N/A<div id="demo">Drag Me</div>
1787N/A<p>Now we give that Node some CSS to make it visible.</p>
1787N/A<h3>Setting up the YUI Instance</h3>
1787N/A<p>Now we need to create our YUI instance and tell it to load the `dd-drag` module.</p>
1787N/A<h3>Making the Node draggable</h3>
5390N/A<p>Now that we have a YUI instance with the `dd-drag` module, we need to instantiate the `Drag` instance on this Node.</p>
5680N/AYUI().use('dd-drag', function(Y) {
1787N/A //Selector of the node to make draggable