![]() Let’s start with a web-page with some text, and an area beside it for sketching. Blank paperįirst, we need something to draw on. See the “Supported browsers” note towards the end of the article for more information. Unfortunately, this won’t work directly on Windows 8 touchscreen when using Internet Explorer, however, it can be adapted relatively easily using the alternative “Pointer Events” model. If you are thinking of making a full HTML 5 touchscreen site or app, you might want to check out something like jQuery Mobile, however it’s worth going through the pure Javascript version here to get an understanding of the interactions between the HTML 5 canvas, and the mouse and touchscreen functions.Ĭompatibility note: We going to use the most common “Touch Events” approach here which is supported by all browsers on iOS and Android.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |