Online since 1990 Yes! I started with Gopher. I do modern Web Component Development with technologies supported by **all** WHATWG partners (Apple, Google, Microsoft & Mozilla)
Online since 1990 Yes! I started with Gopher. I do modern Web Component Development with technologies supported by **all** WHATWG partners (Apple, Google, Microsoft & Mozilla)
Online since 1990 Yes! I started with Gopher. I do modern Web Component Development with technologies supported by **all** WHATWG partners (Apple, Google, Microsoft & Mozilla)
Love this! Never thought a web component could be so clean. Havenβt seen the :not() css operator before, thanks for your comments, definitely have picked up a few new ideas and things to learn π
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for your comments, I will definitely be using inline event listeners in the future! Still quite new to JavaScript and have a long way to go
One more thing that helps: inline Event listener is what you create in HTML:
<span onmouseover="functioncall"></span>
Thus
span.onmouseover = (evt) => functioncall ...
overwrites (or sets!) the HTML declared Event
I was too soon with my
<span>
remark; missed that you added a secondspan
; can't you work that in you base HTML somehow?That double span didn't leave my mind today..
I would write it like this: jsfiddle.net/CustomElementsExample...
Love this! Never thought a web component could be so clean. Havenβt seen the :not() css operator before, thanks for your comments, definitely have picked up a few new ideas and things to learn π