Skip to content
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

JS callbacks should be supported #8

Closed
bre1470 opened this issue Sep 18, 2024 · 0 comments
Closed

JS callbacks should be supported #8

bre1470 opened this issue Sep 18, 2024 · 0 comments
Labels
enhancement New feature or request ready Issue is ready to be picked up

Comments

@bre1470
Copy link
Member

bre1470 commented Sep 18, 2024

  • One way is to allow free-form JavaScript to be set on initial state. Then you can set JS callbacks or add JS listeners.
  • Other way is to have a callback registry in the WebView and references in the options JSON. The callback class should take name and JS code.
@bre1470 bre1470 added the enhancement New feature or request label Sep 18, 2024
@bre1470 bre1470 changed the title Callbacks should be supported JS callbacks should be supported Dec 6, 2024
@oysteinmoseng oysteinmoseng added the ready Issue is ready to be picked up label Jan 10, 2025
@bre1470 bre1470 closed this as completed Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready Issue is ready to be picked up
Projects
None yet
Development

No branches or pull requests

2 participants