-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Add WebView.MessageReceived #2675
base: develop
Are you sure you want to change the base?
Conversation
Hey @camnewnham, this is looking great! This will help a lot of custom script scenarios. Do you need help with the GTK implementation or is that something you'll be able to do? |
That would be appreciated - I don't currently have a Linux machine (or is this testable on other platforms?) Is a legacy |
Hello! Initial draft for discussion.
The goal of this PR is to create a uniform approach to sending events from JS to Eto. Combined with the existing
ExecuteScript
it should allow for bi-directional communication (without polling).Since each browser implementation significantly differs this approach is intended to keeps it simple by adding a single object /method to the global JavaScript context.
Example usage:
Supported Implementations:
Not implemented: