showing results for - "angular 2 draggable div rearrange position"
Camilla
04 Sep 2016
1<!doctype html>
2<html lang="en">
3<head>
4  <meta charset="utf-8">
5  <meta name="viewport" content="width=device-width, initial-scale=1">
6  <title>jQuery UI Draggable - Default functionality</title>
7  <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
8  <link rel="stylesheet" href="/resources/demos/style.css">
9  <style>
10  #draggable { width: 150px; height: 150px; padding: 0.5em; }
11  </style>
12  <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
13  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
14  <script>
15  $( function() {
16    $( "#draggable" ).draggable();
17  } );
18  </script>
19</head>
20<body>
21 
22<div id="draggable" class="ui-widget-content">
23  <p>Drag me around</p>
24</div>
25<div id="draggable1" class="ui-widget-content">
26  <p>Drag me around</p>
27</div>
28 
29 
30</body>
31</html>
32
similar questions
queries leading to this page
angular 2 draggable div rearrange position