aboutsummaryrefslogtreecommitdiffstats
path: root/library/Sortable/tests/handles.html
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-03 07:12:35 +0000
committerMario <mario@mariovavti.com>2021-08-03 07:12:35 +0000
commitcddc0217724f1a7661014d50e4c940e623a0c2dc (patch)
treef24595d659adbb7d1e5d2e8e6dcd829b093887bb /library/Sortable/tests/handles.html
parent571bae9d1c07bb08270163a314c91c138b42e62f (diff)
downloadvolse-hubzilla-cddc0217724f1a7661014d50e4c940e623a0c2dc.tar.gz
volse-hubzilla-cddc0217724f1a7661014d50e4c940e623a0c2dc.tar.bz2
volse-hubzilla-cddc0217724f1a7661014d50e4c940e623a0c2dc.zip
Apps drag and drop feature
Diffstat (limited to 'library/Sortable/tests/handles.html')
-rw-r--r--library/Sortable/tests/handles.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/library/Sortable/tests/handles.html b/library/Sortable/tests/handles.html
new file mode 100644
index 000000000..037e272d0
--- /dev/null
+++ b/library/Sortable/tests/handles.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title></title>
+ <link rel="stylesheet" type="text/css" href="./style.css">
+</head>
+<body>
+
+<div class="list" id="list1">
+ <div><span class="handle">::</span>Item 1.1</div>
+ <div><span class="handle">::</span>Item 1.2</div>
+ <div><span class="handle">::</span>Item 1.3</div>
+ <div><span class="handle">::</span>Item 1.4</div>
+ <div><span class="handle">::</span>Item 1.5</div>
+</div>
+
+
+
+
+<script src="../Sortable.js"></script>
+
+<script type="text/javascript">
+ new Sortable(document.getElementById('list1'), { handle: '.handle' });
+</script>
+
+</body>
+</html>