Tuesday, June 26, 2012

Re: Deferred Binding with ClientBundle

First, you don't need to set custom MIME tags for SVG in you resources. Just use the SVGResource type and lib-gwt-svg. It has worked quite well for my projects and even has an async loader, ExternalSVGResource useful for splitting out larger SVG's. It is a pure GWT library, so no extra JS is loaded.

As for supporting IE, have you considered using Raphael4GWT to convert your SVG into VML so that it displays in IE? It seems like the simplest solution to just use the same SVG files everywhere.

I hope that helps.

Sincerely,
Joseph

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/_ooHLoz8PXMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment