[Sugar-devel] Web activities canvas element

laurent bernabe laurent.bernabe at gmail.com
Wed Oct 9 17:23:34 EDT 2013


Hello,

*) I am wondering whether I can safely replace, in an index.html file of a
web activity, the <div id="canvas></div> with <canvas id="canvas"></canvas>
?

Because the library I am using need a real canvas element.

*) Also, if I can use a real canvas element, how can set its size to the
remaining size of the screen ? (As my laptop has a wider screen than XO
ones).

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131009/c3756a4c/attachment.html>


More information about the Sugar-devel mailing list