svgElem.addEventListener("load", () => {
console.log("SVG loaded.");
});SVGElement: load event / notebook
SVGElement: load event
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.