Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add array.from polyfill (issue #162) + add html for min test + update…
… gulp task
- Loading branch information
pc-david\david.desmaisons
committed
Jun 14, 2017
1 parent
0ff8b06
commit 190c258
Showing
7 changed files
with
437 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!doctype html> | ||
<html class="no-js" lang=""> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<title>Example two lists</title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<link rel="stylesheet" href="css/main.css"> | ||
</head> | ||
<body> | ||
|
||
<div id="main"> | ||
<h1>Vue Dragable</h1> | ||
|
||
<div class="drag"> | ||
<h2>List 1 draggable</h2> | ||
<draggable class="dragArea" :list="list1" :options="{group:'people'}" @change="log"> | ||
<div v-for="(element, index) in list1" > | ||
{{element.name}} {{index}} | ||
</div> | ||
</draggable> | ||
|
||
<h2>List 2 draggable</h2> | ||
<draggable class="dragArea" :list="list2" :options="{group:'people'}" @change="log"> | ||
<div v-for="(element, index) in list2" :key="index">{{element.name}}</div> | ||
</draggable> | ||
</div> | ||
|
||
<div class="normal"> | ||
<h2>List 1 v-for</h2> | ||
<div> | ||
<div v-for="element in list1" >{{element.name}}</div> | ||
</div> | ||
|
||
<h2>List 2 v-for</h2> | ||
<div> | ||
<div v-for="element in list2" >{{element.name}}</div> | ||
</div> | ||
</div> | ||
|
||
<a href="index.html">See basic example</a> | ||
<a href="Two_Lists_Clone.html">See clone element example</a> | ||
<a href="Two_Lists_Clone_If.html">See clone v-if element example</a> | ||
</div> | ||
<script type="text/javascript" src="libs\vue\dist\vue.js"></script> | ||
<script type="text/javascript" src="libs\Sortable\Sortable.js"></script> | ||
<script type="text/javascript" src="dist\vuedraggable.min.js"></script> | ||
<script type="text/javascript" src="script\complex.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.