Genie Discord forum
![Author Avatar](https://cdn.discordapp.com/avatars/679661866166910986/f3ed85f7a3e27b92039307687c03613a.png?size=512)
I need to use the uploader
and js_methods
at the same time.
js_methods
requires a specific named app type (e.g. MyApp
) to work:
Stipple.js_methods(model::MyApp)
but I can't seem to get the uploader example in https://github.com/GenieFramework/StippleDemos/blob/master/ReactiveTools%20API/FileUpload.jl to work with a "named app". Attached is my attempt. This MWE doesn't update the df
variable in the model.
Note that I introduced the following changes to the MWE:
- The variable
table
is shadowing thetable
function in theui()
function and causes an error. I just renamed it totbl
(my PR https://github.com/GenieFramework/StippleDemos/pull/35 fixing this). - I added
GenieFramework
. - I replaced the
@handlers
with@app
and named itMyApp
.
![Author Avatar](https://cdn.discordapp.com/avatars/738049963250155580/13375362e7047976b44a466ef441a20f.png?size=512)
I'm not vary familiar with recent version of js_methods
- maybe @hhaensel or @Pere can chime in