user
user

Reputation: 2555

How can I draw on an html canvas using Scala-JS

How can I obtain a canvas element and draw stuff on it?

Upvotes: 1

Views: 1435

Answers (1)

Luka Jacobowitz
Luka Jacobowitz

Reputation: 23532

So it seems you didn't use the latest version. You can find a working example here: http://scala-js.github.io/scala-js-dom/#dom.HTMLCanvasElement

Upvotes: 2

Related Questions