(as explained in the docs), but sorry, I can't get it to work.
Sorry but then you haven't really read the docs ;-)
Copy and paste from the docs:
You can also use any boolean configuration property without using the is() function
/* GSS */
@if (MY_CONFIGURATION_PROPERTY) {
.foo {...}
} @else {
.bar {...}
}
The configuration property needs to be single value and its value needs to be either true or false.
The configuration property needs to be single value and its value needs to be either true or false.
<set-configuration-property name="MY_CONFIGURATION_PROPERTY" is-multi-valued="false" />
<set-configuration-property name="MY_CONFIGURATION_PROPERTY" value="true" />
<set-configuration-property name="MY_CONFIGURATION_PROPERTY" value="true" />
As your browser.engine property is not single valued and does not have true/false as values you can not use it with @if. Thats why I said you would need to create GWT properties named IS_WEBKIT or similar that are either true or false.
-- 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.
No comments:
Post a Comment