質問編集履歴
1
テキスト修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,11 +5,7 @@
|
|
5
5
|
<!-- CanvasComponents.vue-->
|
6
6
|
|
7
7
|
<template>
|
8
|
-
<p><canvas id="preview"></canvas></p>
|
9
|
-
<p>
|
10
|
-
|
8
|
+
<canvas id="canvas" width="320" height="320" ref="canRef"></canvas>
|
11
|
-
<button @click="drawText('preview', 'canvas_text')">文字を描く</button>
|
12
|
-
</p>
|
13
9
|
</template>
|
14
10
|
|
15
11
|
<script>
|