質問編集履歴

1

テキスト修正

2021/11/24 13:50

投稿

Fukusuke0604
Fukusuke0604

スコア552

test CHANGED
File without changes
test CHANGED
@@ -12,15 +12,7 @@
12
12
 
13
13
  <template>
14
14
 
15
- <p><canvas id="preview"></canvas></p>
16
-
17
- <p>
18
-
19
- <input type="text" id="canvas_text" value="我輩は犬である" />
15
+ <canvas id="canvas" width="320" height="320" ref="canRef"></canvas>
20
-
21
- <button @click="drawText('preview', 'canvas_text')">文字を描く</button>
22
-
23
- </p>
24
16
 
25
17
  </template>
26
18