|
|
@@ -8,7 +8,7 @@
|
|
|
<script src="http://dynamicsjs.com/lib/dynamics.js"></script>
|
|
|
<link rel="stylesheet" href="style.css">
|
|
|
<!-- template for the component -->
|
|
|
- <template id="header-view-template" style="display:none">
|
|
|
+ <script type="x/template" id="header-view-template">
|
|
|
<div class="draggable-header-view"
|
|
|
@mousedown="startDrag" @touchstart="startDrag"
|
|
|
@mousemove="onDrag" @touchmove="onDrag"
|
|
|
@@ -23,7 +23,7 @@
|
|
|
<slot name="content"></slot>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </template>
|
|
|
+ </script>
|
|
|
</head>
|
|
|
<body @touchmove.prevent>
|
|
|
|