Friday, December 18, 2015

Re: Shadow DOM / virtualization support in GWT

I don't think GWT has to do anything special for Shadow DOM support.

You might need to include the webcomponents.js (full Shadow DOM) or webcomponents-lite.js (ShadyDOM) polyfills [1] for browser that don't support native ShadowDOM. 
Then you can use the gwt-polymer-elements [2] Polymer library or use ShadowDOM directly using JSNI/JSInterops and eventually Elementals2  


[1] https://github.com/webcomponents/webcomponentsjs
[2] https://github.com/vaadin/gwt-polymer-elements


On Thursday, December 17, 2015 at 3:57:00 PM UTC+1, gau...@ainosoft.com wrote:
How do we implement / use the shadow DOM capabilities in GWT ?

I am not sure if its currently supported in anyway. Is it planned in next version ? 

Any pointers will be very helpful. 

thanks,
Gautam

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment