You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to figure out whether st-js is a good fit for my project. I've been browsing your site but have not yet been able to find the answer to my question. I hope you do not mind me asking it here.
I wonder whether it is possible to generate JavaScript online -- that is, can I dynamically generate JavaScript in a running Java application?
To make this more obvious: I'm showing a webview which gets populated dynamically with HTML. Now, I'd like to JavaScript to it as well. However, I feel unease writing JavaScript as Java strings; mistakes are too easy to make. So I've been searching for a library that would allow me writing Java code that could be online transpiled into JavaScript. A function in which I could put a Runnable instance manipulating DOM and it would return a JavaScript string.
The text was updated successfully, but these errors were encountered:
I'm trying to figure out whether st-js is a good fit for my project. I've been browsing your site but have not yet been able to find the answer to my question. I hope you do not mind me asking it here.
I wonder whether it is possible to generate JavaScript online -- that is, can I dynamically generate JavaScript in a running Java application?
To make this more obvious: I'm showing a webview which gets populated dynamically with HTML. Now, I'd like to JavaScript to it as well. However, I feel unease writing JavaScript as Java strings; mistakes are too easy to make. So I've been searching for a library that would allow me writing Java code that could be online transpiled into JavaScript. A function in which I could put a Runnable instance manipulating DOM and it would return a JavaScript string.
The text was updated successfully, but these errors were encountered: