Closed lazd closed 10 years ago
The createElement for <button is="custom-button">Hi</button> should be:
createElement
<button is="custom-button">Hi</button>
var el0 = document.createElement("button","custom-button"); el0.setAttribute("is", "custom-button"); el0.textContent = "Hi";
But it ends up being:
var el0 = document.createElement("button"); el0.setAttribute("is", "custom-button"); el0.textContent = "Hi";
The
createElement
for<button is="custom-button">Hi</button>
should be:But it ends up being: