The HTML5 <canvas>
element provides a space on the screen that we can “draw” on through using a Javascript API. We are able to do things like defining paths and shapes, and we can then trace those with various colours or just fill in entire shapes. There’s a lot of creative uses for the canvas element, but in this video tutorial, we will be focusing on using a canvas element to create a simple drawing application in Ionic. We will walk through creating a custom component for Ionic that will provide a drawing interface to the users.
Using a Canvas to Create a Drawing App in Ionic – Part 1
Originally published April 26, 2017 1 mins