Closed rubydesign closed 6 years ago
I would suggest that xeogl always creates the canvas element, but that the user can provide the wrapper for it. Just because that is what he/she most likely wants to style. I could also document the overlay and background that are always created and the fact that the canvas has to be in a parent to whom the overlay and background are added.
I hope the addition is ok. This took me 2 hours to find out myself, i hope that it can help someone else.
Code uses "canvas" not "canvasId" to find user supplied canvas.