MotionMark icon indicating copy to clipboard operation
MotionMark copied to clipboard

Make Utilities.createSVGElement() and createElement() extensions of document

Open shallawa opened this issue 1 year ago • 0 comments

    this.element = Utilities.createSVGElement("image", attrs, xlinkAttrs, stage.element);

can be

    this.element = document.createSVGElement("image", attrs, xlinkAttrs, stage.element);

And

    var row = Utilities.createElement("tr", {}, this.element);

can be

    var row = document.createHTMLElement("tr", {}, this.element);

shallawa avatar Sep 11 '24 16:09 shallawa