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

Interact example gives "Window object doesn't support JS messages" #284

Open
BeastyBlacksmith opened this issue Jun 30, 2021 · 0 comments
Open

Comments

@BeastyBlacksmith
Copy link

I tried the example from the interact documentation

using Blink, Interact
ui = button()
w = Window()
julia> body!(w, ui)
ERROR: Window object doesn't support JS messages
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] msg(o::Window, m::Dict{Any, Any})
   @ Blink ~/.julia/packages/Blink/mwJC9/src/rpc/rpc.jl:38
 [3] js(o::Window, js::WebIO.JSString; callback::Bool)
   @ Blink ~/.julia/packages/Blink/mwJC9/src/rpc/rpc.jl:47
 [4] js(o::Window, j::Expr; callback::Bool)
   @ Blink ~/.julia/packages/Blink/mwJC9/src/rpc/rpc.jl:61
 [5] content!(o::Window, sel::String, html::String; fade::Bool, async::Bool)
   @ Blink ~/.julia/packages/Blink/mwJC9/src/content/api.jl:5
 [6] content!(o::Window, sel::String, html::Widget{:button, Int64}; fade::Bool, async::Bool)
   @ Blink ~/.julia/packages/Blink/mwJC9/src/content/api.jl:16
 [7] body!(w::Window, html::Widget{:button, Int64}; fade::Bool, async::Bool)
   @ Blink ~/.julia/packages/Blink/mwJC9/src/content/api.jl:19
 [8] body!(w::Window, html::Widget{:button, Int64})
   @ Blink ~/.julia/packages/Blink/mwJC9/src/content/api.jl:19
 [9] top-level scope
   @ REPL[22]:1
  [ad839575] Blink v0.12.5
  [c601a237] Interact v0.10.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant