| author | ymh <ymh.work@gmail.com> |
| Wed, 06 Jun 2018 16:21:54 +0200 | |
| changeset 539 | 08e2513dbc2f |
| parent 156 | e1e14766f608 |
| permissions | -rw-r--r-- |
|
156
e1e14766f608
adding diffviewer to merging view
Harris Baptiste <harris.baptiste@iri.centrepompidou.fr>
parents:
diff
changeset
|
1 |
<template src='./template.html'></template> |
|
e1e14766f608
adding diffviewer to merging view
Harris Baptiste <harris.baptiste@iri.centrepompidou.fr>
parents:
diff
changeset
|
2 |
<script> |
|
539
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
3 |
export default {
|
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
4 |
props: ["close-with-escape"], |
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
5 |
data() {
|
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
6 |
return {
|
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
7 |
display: false |
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
8 |
}; |
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
9 |
}, |
|
156
e1e14766f608
adding diffviewer to merging view
Harris Baptiste <harris.baptiste@iri.centrepompidou.fr>
parents:
diff
changeset
|
10 |
|
|
539
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
11 |
methods: {
|
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
12 |
close: function() {
|
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
13 |
this.display = false; |
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
14 |
}, |
|
156
e1e14766f608
adding diffviewer to merging view
Harris Baptiste <harris.baptiste@iri.centrepompidou.fr>
parents:
diff
changeset
|
15 |
|
|
539
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
16 |
show: function() {
|
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
17 |
this.display = true; |
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
18 |
} |
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
19 |
} |
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
20 |
}; |
|
08e2513dbc2f
Upgrade webpack to 4, upgrade vue.js, and some style changes
ymh <ymh.work@gmail.com>
parents:
156
diff
changeset
|
21 |
</script> |