UNPKG

draggable

Version:

High performance, fully cross browser, full featured drag and drop in a tiny (2k gzipped), dependency-free package

43 lines (34 loc) 1.09 kB
<!doctype html> <html> <head> <title>bounded custom demo | draggable.js</title> <meta name="viewport" content="user-scalable=no, width=device-width, minimum-scale=1, maximum-scale=1" /> <link rel="stylesheet" href="../__common/common.css" /> <link rel="stylesheet" href="boundedcustom.css" /> </head> <body> <ul id="nav"> <li><a href="../basic">Basic</a></li> <li><a href="../bounded">Bounded</a></li> <li><a class="cur" href="#">Bounded (custom)</a></li> <li><a href="../grid">Grid</a></li> <li><a href="../handle">Handle</a></li> </ul> <div id="container"> <div class="ball blue"></div> <div id="drag-bound-indicator"></div> </div> <div id="info"> <div class="column"></div> <div class="column"> <span class="coords-x"></span> <span class="coords-y"></span> </div> <div class="column"></div> </div> <script src="../../src/draggable.js"></script> <script src="../__common/common.js"></script> <!-- this is the script you're looking for... --> <script src="boundedcustom.js"></script> </body> </html>