On Wednesday, May 18, 2016 at 11:10:23 PM UTC+2, Ming-Yee Iu wrote:
>
> It would also be nice if Elemental 2 also has an easy way to selectively 
> knock out certain fields/methods in the code generator. I don't know how 
> many times I'll be using code completion and accidentally end up writing 
> something like 
>
>    div.setInnerText("click me")
>
> because innerText is available in WebKit when I should have been using
>
>    div.setTextContent("click me")
>
> which is cross-platform.
>

You mean that innerText: http://caniuse.com/#feat=innertext and that 
textContent: http://caniuse.com/#feat=textcontent
They look (almost) as "cross platform" as each other (Firefox 45 is ESR).
They're not interchangeable though, although very similar when it comes to 
setting their 
value: https://rocallahan.github.io/innerText-spec/index.html#setting-innertext

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/f607930e-4061-4eb8-8a7c-c966f01dde77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to