Shadow DOM / virtualization support in GWT

253 views
Skip to first unread message

gau...@ainosoft.com

unread,
Dec 17, 2015, 9:57:00 AM12/17/15
to GWT Users
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

Ümit Seren

unread,
Dec 18, 2015, 8:17:18 AM12/18/15
to GWT Users
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
Reply all
Reply to author
Forward
0 new messages