Can you use HTML5 Canvas API on Ionic?


Is it possible to use HTML5 Canvas as UI element on Ionic 3?
Does it even work?
I spotted javascript doesn’t really work well when they are written on html file of Ionic 3.
It requires us to convert javascript into typescript and write it inside .ts file for each html to work properly.
I’m concerned if HTML5 Canvas which is drawn with normal javascript will work well on Ionic 3?
I’m planning to use HTML5 Canvas for making UI of Ionic.


Yes, it works just fine.

1 Like

Sure, it worked with Ionic 1.x too.


1 Like