Skip to content

Commit 8841a28

Browse files
Improving examples
1 parent 781b9ea commit 8841a28

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

examples/complex.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,13 @@
77
<meta name="description" content="">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

10-
<!-- Place favicon.ico in the root directory -->
11-
1210
<link rel="stylesheet" href="css/main.css">
1311
</head>
1412
<body>
1513

1614
<div id="main">
1715
<h1>Vue Dragable For</h1>
1816

19-
<a href="index.html">See basic example</a>
20-
2117
<div class="drag">
2218
<h2>List 1 v-dragable-for</h2>
2319
<div class="dragArea">
@@ -39,11 +35,10 @@ <h2>List 1 v-for</h2>
3935
<h2>List 2 v-for</h2>
4036
<div>
4137
<div v-for="element in list2" options='{"group":"people"}'>{{element.name}}</div>
42-
</div>
43-
</div>
38+
</div>
39+
</div>
4440

45-
<button @click="add">Add</button>
46-
<button @click="replace">Replace</button>
41+
<a href="index.html">See basic example</a>
4742

4843
<script type="text/javascript" src="..\libs\vue\dist\vue.js"></script>
4944
<script type="text/javascript" src="..\libs\lodash\lodash.js"></script>

examples/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@
77
<meta name="description" content="">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

10-
<!-- Place favicon.ico in the root directory -->
11-
1210
<link rel="stylesheet" href="css/main.css">
1311
</head>
1412
<body>
1513

1614
<div id="main">
1715
<h1>Vue Dragable For</h1>
18-
19-
<a href="complex.html">See other example</a>
2016

2117
<div class="drag">
2218
<h2>Dragable v-dragable-for</h2>
@@ -35,6 +31,10 @@ <h2>Normal v-for</h2>
3531
<button @click="add">Add</button>
3632
<button @click="replace">Replace</button>
3733

34+
<br>
35+
36+
<a href="complex.html">See 2 lists example</a>
37+
3838
<script type="text/javascript" src="..\libs\vue\dist\vue.js"></script>
3939
<script type="text/javascript" src="..\libs\lodash\lodash.js"></script>
4040
<script type="text/javascript" src="..\libs\Sortable\Sortable.js"></script>

0 commit comments

Comments
 (0)