By default it probably shouldn't take anything, but making HTMLElement super-able would allow devs to use `new` on their shiny-ES Custom Els
-
-
You can do that... (disclaimer I haven't followed web components closely after leaving Google)
2 replies 0 retweets 2 likes -
Replying to @ErikArvidsson @tbranyen and
It's *almost* like we had a plan this whole time to bring JS and DOM closer together...
2 replies 1 retweet 3 likes -
Replying to @slightlylate @ErikArvidsson and
hahaha sooo... not sure why I'm getting illegal invocation sometimes... but a basic demo, proves you are correct!pic.twitter.com/WmehrveFRC
4 replies 0 retweets 3 likes -
Replying to @tbranyen @slightlylate and
you cannot inject html in the constructor reliably. there are differences if the component was already there or not. http://webreflection.github.io/talks/WCRemoteConf/ …
2 replies 0 retweets 0 likes -
Replying to @WebReflection @slightlylate and
I've been executing my code at the end of <body> since like 2009... this doesn't seem like a real problem tbqh, is it?
1 reply 0 retweets 0 likes -
Replying to @tbranyen @WebReflection and
Maybe I'm missing the problem in the slide. I was able to get innerHTML working fine in ctor called via new, createElement, and innerHTML
2 replies 0 retweets 1 like -
Replying to @tbranyen @slightlylate and
You're not checking the live example that shows the issue. It's real, watch the talk to know more. https://m.youtube.com/watch?v=rYol466ngVM …
2 replies 0 retweets 0 likes -
Replying to @WebReflection @slightlylate and
After watching your video, I'm not sure that my Virtual DOM Component abstraction over v1 spec using static ES Modules will hit this problem
1 reply 0 retweets 0 likes -
Replying to @tbranyen @WebReflection and
Good to know that you've thoroughly explored the edge cases around attributes though.
2 replies 0 retweets 1 like
Netscape/IBM/Mozilla really screwed up with regards to property/attribute source-of-truth. Still unresolved. MSFT was right.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.