How to build a canvas widgetin outsystems?
Application Type
Traditional Web, Reactive
Service Studio Version
11.51.7 (Build 58118)

I hope to build a canvas widget to let user draw a picture, and i saw a introduction as the image.

Any tutorial about how to do it?

This is for the main part a javascript question, so i will refer you to javascript tutorial.

https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial?retiredLocale=nl


I put a little example of canvas code as attachment, with a html page that serves as example.

If you understand this example, then we can talk how to put it in Outsystems. A little hint: put it in a webblock instantiate it in the OnReady (sometimes you need to instantiate it in the OnRender event.

Main.zip

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.