Render Maquette Without The Projector
I want to use Maquette as a basic hyperscript language. Consequently, I don't want to use the maquette.projector. However, I'm having a hard time getting any of the maquette.dom fu
Solution 1:
Nice to see that you have found another usecase without the projector. The dom.create
method only creates the DOM nodes, but it does not append them anywhere in the document. You can use document.body.appendChild(root)
or use dom.append(document.body, svg)
.
Post a Comment for "Render Maquette Without The Projector"