H
H
hollanditkzn2017-02-08 16:40:20
JavaScript
hollanditkzn, 2017-02-08 16:40:20

When typing, was it immediately displayed in the canvas?

I can’t figure out how to make it so that when text is entered into input, this text is displayed in canvas. Preferably everything is dynamic, without a button
https://jsfiddle.net/hollanditkzn/zte0ef52/3/

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivanq, 2017-02-08
@hollanditkzn

https://jsfiddle.net/zte0ef52/7/
UPD https://jsfiddle.net/3x5taa7n/1/

K
kulaeff, 2017-02-08
@kulaeff

Firstly, you have errors in the code, would you press F12 or something and look at the console before writing a question. Secondly, instead of the change event, you need to use input
demo

O
Oleg, 2017-02-08
@politon

Without pure js libraries https://jsfiddle.net/Politonius/6nhyv5n6/1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question