Tuesday, September 16, 2014

Re: GWT with Bootstrap css

If you can not move to 2.7 or gss you could also inject the bootstrap.css as a TextResource using the com.google.gwt.dom.client.StyleInjector.


On Tue, Sep 16, 2014 at 3:42 PM, Jens <jens.nehlmeier@gmail.com> wrote:
GWT 2.7 will support CSS media queries in GssResources. So you could use GWT 2.7-SNAPSHOT or use https://github.com/jDramaix/gss.gwt until GWT 2.7 is released.

If you need/want to execute code when a media query gets active/inactive you can use window.matchMedia via JSNI (and window.onResize as a fallback if you support old browsers). 

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment