Tuesday, June 7, 2016

Re: Can meta tag with gwt:property replace url query parameter?

Thanks Jens!

I actually modified slightly the desktop view to look like the mobile one in the particular case I needed which for my use case is actually better, but now I know where the property provider lives and how to create one if I need to in the future.

On Monday, June 6, 2016 at 3:35:14 PM UTC-6, Jens wrote:
You would need to replace the property provider of MGWT because it only looks at query parameter and user agent:


var formfactorFromMeta = __gwt_getMetaProperty("mgwt.formfactor")

in your custom property provider.

-- J.

--
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