-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a JSObject property to be bound to jsexported methods #206
Comments
Found a solution for two way communication:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Using Kotlin, I'm having trouble with the 'proper' way to define the JSObject property because Property constructor is private so I can't declare them that way.
I used
to define a property in the JSObject.
I need the property to use
getId()
as getter andsetId(value)
as setter. Do you see a way to redefine JS object property id to bind it to the jsexported getter & setter at the instance creation time in the constructor?The text was updated successfully, but these errors were encountered: