Just wondering when the final Elemental2 is going to be made available ? You seem to get some extra information that is not publically disclosed.
On Fri, Feb 10, 2017 at 2:09 PM Thomas Broyer <[email protected]> wrote: > Elemental 2 will come with a basic, future-proof API for getting arbitrary > properties of objects (future-proof as in, IIUC: this will be JSNI, but > there'll be an equivalent for J2Cl; same API but different implementation), > so you could use it with a @JsOverlay method. > In the mean time I'd suggest doing the same (@JsOverlay method calling a > static helper class that uses JSNI) but with a handwritten JSNI helper. > > Actually however, I'd rather suggest using a Map-like API in this case > (with predefined constants as keys). > > > On Friday, February 10, 2017 at 1:49:15 PM UTC+1, Juan Pablo Gardella > wrote: > > AFAIK is not possible. See > http://stackoverflow.com/questions/36867522/gwt-jsinterop-jstype-property-with-in-name > > On Fri, 10 Feb 2017 at 06:23 Kenny <[email protected]> wrote: > > Hi, > > I am wrapping a js library, this library expects as a parameter for a > function an object with properties that contain dashes. > > See an example here: > http://dmitrybaranovskiy.github.io/raphael/reference.html#Element.animate > <http://www.google.com/url?q=http%3A%2F%2Fdmitrybaranovskiy.github.io%2Fraphael%2Freference.html%23Element.animate&sa=D&sntz=1&usg=AFQjCNH3P-0sHVlL9IHE8yErPwvocLhfkA> > > How can I wrap this objects? > > @JsProperty(name = "fill-opacity") does not work. > > Regards > Kenny > > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://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 > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://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 "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
