Dave Brophy
Dave Brophy
Adding the SVG in plain HTML works: https://jsfiddle.net/1L27s201/
Hmm... this is what I see in the Chrome inspector with the "path" tag selected in the plain HTML version (the jsfiddle): ... but the attributes are missing in the...
> Add a whitelist of element names (that do not conflict with HTML element names) that automatically get the svg namespace. It looks like there's a few SVG elements that...
FWIW, this is how I did re-usable components (to create modal popups) in https://play.jsgo.io/ - [Modal](https://github.com/dave/play/blob/d9f2c296b1ad5e2fd4493bfafc72e065cbb354fa/views/modal.go#L13-L12), and [AddFileModal](https://github.com/dave/play/blob/c186bd63715cdc8f51bdc85464e52d6907121025/views/add-file.go#L17-L16), [LoadPackageModal](https://github.com/dave/play/blob/7be676bb40f0703e56c23d7806bcddacf61ec8e0/views/load-package.go#L19-L18) etc. It didn't exactly feel fluent, but worked OK.
> When the user types a non-number, the value of the input needs to be replaced and thus the cursor would be moved to the end of the input. Is...
It's the "I won't accept a PR that implements this". The API is already complex and cluttered... there's hundreds of tweaks I could add if we were concerned with improving...
Sure feel free to close it.
😂 sorry I'm half asleep today
I'll probably make something like this soon, but it's not in my immediate radar.