Thank you! That's awesome.
On Sunday, March 20, 2016 at 12:08:10 AM UTC-7, Ray Cromwell wrote:
>
> Right now, the best you can do is
>
> @JsType(isNative = true, namespace =JsPackage.GLOBAL, name = "Object")
> class MyLiteral {
> }
>
> And put js properties on the object
>
>
> On Sat, Mar
Right now, the best you can do is
@JsType(isNative = true, namespace =JsPackage.GLOBAL, name = "Object")
class MyLiteral {
}
And put js properties on the object
On Sat, Mar 19, 2016 at 11:11 PM, Brandon Donnelson
wrote:
> I found a doc talking about object literal
Can JsInterop create an object literal?
var foo = {a:0, b:1};
--
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
I found a doc talking about object literal creation
https://docs.google.com/document/d/1DFrC-GtcK7cu6DGxaWCswvb2fai9cnrWPvGcdgsKlBw/edit.
--
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving
isNative means there has to be some existing javascript class the java type
is wrapping. Is there a javascript class?
On Monday, March 14, 2016 at 1:37:21 PM UTC-7, Paul Stockley wrote:
>
> Is it legal to call new on a class marked as JsType(isNative=true)? When I
> try it, I get a runtime