jurassic
jurassic copied to clipboard
using C# property/field in Javascript .net
hi, I was trying to find a way to link my property in a function of javascript, is it possible to di that?
Yes, there is a [JSProperty] attribute that you can use in the same way as [JSMethod].
See https://github.com/paulbartrum/jurassic/wiki/Exposing-a-.NET-class-to-JavaScript for an example of [JSMethod].