Skip to content

Commit 4fd9e85

Browse files
authored
Add files via upload
1 parent 83b0902 commit 4fd9e85

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

examples/09-drag-from-outside.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
<style>
1010
.droppable-element {
11-
width: 150px;
12-
text-align: center;
13-
background: #fdd;
14-
border: 1px solid black;
15-
margin: 10px 0;
16-
padding: 10px;
11+
width: 150px;
12+
text-align: center;
13+
background: #fdd;
14+
border: 1px solid black;
15+
margin: 10px 0;
16+
padding: 10px;
1717
}
1818
</style>
1919

examples/09-drag-from-outside.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,8 @@ new Vue({
5858
this.layout = this.layout.filter(obj => obj.i !=='drop');
5959
}
6060
}
61-
6261
},
6362
dragend:function(e){
64-
6563
let parentRect = document.getElementById('content').getBoundingClientRect();
6664
let mouseInGrid=false;
6765
if (((mouseXY.x>parentRect.left) && (mouseXY.x<parentRect.right)) && ((mouseXY.y>parentRect.top) && (mouseXY.y<parentRect.bottom))){
@@ -86,8 +84,7 @@ new Vue({
8684
this.$refs.gridLayout.$children[this.layout.length].$refs.item.style.display="block";
8785
} catch {
8886
}
89-
*/
90-
87+
*/
9188
}
9289
},
9390
},

0 commit comments

Comments
 (0)