@Harald:
JsPropertMap<Object obj = JsPropertMap.of();
obj.set("key0", "value");
obj.set("key1", 42);
obj.set("key2", true);
obj.set("key3", new Object() { "one", "two", "three" } );Unfortunately best documentation right now is the unit tests. Maybe somebody could start a cookbook for common patterns and we can slowly build on top of that based on questions like how can I do x, y etc? On Sun, Nov 12, 2017 at 12:19 AM, Harald Pehl <[email protected]> wrote: > +1 for some basic documentation! > > Especially the proper use > > { > 'key0': 'value', > 'key1': 42, > 'key2': true, > 'key3': ['one', 'two', 'three'] > } > > as JsPropertyMap would help. > > > > Am Samstag, 11. November 2017 13:16:52 UTC+1 schrieb Vassilis Virvilis: >> >> Hi, >> >> is there any documentation available that we can read? >> >> It's not a big library and I can read through the code but I would >> appreciate a high level overview when we should employ jsinterop-base, what >> is the best casting strategy and all these... >> >> Vassilis >> >> On Sat, Nov 11, 2017 at 9:59 AM, 'Julien Dramaix' via GWT Contributors < >> [email protected]> wrote: >> >>> I'll create a new release of elemental2 next week. Stay tuned. >>> >>> >>> On Friday, November 10, 2017 at 6:13:31 PM UTC-8, Peter Donald wrote: >>>> >>>> Great work - thanks! >>>> >>>> Is this compatible with the last release of elemental2? (IIRC it >>>> was 1.0.0-beta-1) >>>> >>>> On Sat, Nov 11, 2017 at 12:22 PM, 'Julien Dramaix' via GWT Contributors >>>> <[email protected]> wrote: >>>> >>>>> Dear contributors, >>>>> >>>>> We've just created a new github repository containing the source code >>>>> of jsinterop-base: https://github.com/google/jsinterop-base >>>>> >>>>> We've also released a new beta version of the library: >>>>> jsinterop-base:1.0.0-beta-3 >>>>> <https://oss.sonatype.org/content/repositories/releases/com/google/jsinterop/base/1.0.0-beta-3/> >>>>> >>>>> You can try it by downloading the jar file >>>>> <https://oss.sonatype.org/content/repositories/releases/com/google/jsinterop/base/1.0.0-beta-3/base-1.0.0-beta-3.jar> >>>>> or use the following Maven dependency: >>>>> >>>>> >>>>> <dependency> >>>>> <groupId>com.google.jsinterop</groupId> >>>>> <artifactId>base</artifactId> >>>>> <version>1.0.0-beta-3</version> >>>>> </dependency> >>>>> >>>>> >>>>> Don’t hesitate to report any bugs, issues, concerns you have on the github >>>>> issue tracker <https://github.com/google/jsinterop-base/issues>. >>>>> >>>>> -Julien >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "GWT Contributors" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to google-web-toolkit-contributor >>>>> [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/google-web-toolkit-contrib >>>>> utors/CABXeq2TrKCNg0i0R%2BUB%2BPBDGEPL2r--jQFA5ZQOyywdOGvsds >>>>> g%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABXeq2TrKCNg0i0R%2BUB%2BPBDGEPL2r--jQFA5ZQOyywdOGvsdsg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>>> >>>> -- >>>> Cheers, >>>> >>>> Peter Donald >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "GWT Contributors" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] >>> . >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/google-web-toolkit-contributors/ff40c05b-5f30-418e-9caa- >>> 6a53a96dfa84%40googlegroups.com >>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/ff40c05b-5f30-418e-9caa-6a53a96dfa84%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Vassilis Virvilis >> > -- > You received this message because you are subscribed to the Google Groups > "GWT Contributors" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/google-web-toolkit-contributors/b288f5a1-5f7d- > 4244-94a0-f3852f636cc9%40googlegroups.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/b288f5a1-5f7d-4244-94a0-f3852f636cc9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA1%2BA5hk9TSc_p9MzGtPJJje6E5eUozOquKBESJ82g67JA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
