Skip to content
Snippets Groups Projects
Commit b59f0abb authored by lancebeet's avatar lancebeet
Browse files

widget -> scope from webio update

parent 3de53341
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,7 @@ end ...@@ -46,6 +46,7 @@ end
widget(x::Range, label="") = slider(x; label=label) widget(x::Range, label="") = slider(x; label=label)
widget(x::Observable, label="") = x widget(x::Observable, label="") = x
widget(x::WebIO.Node{<:Any}, label="") = x widget(x::WebIO.Node{<:Any}, label="") = x
widget(x::WebIO.Scope, label="") = x #fix for WebIO update
widget(x::AbstractVector, label="") = togglebuttons(x, label=label) widget(x::AbstractVector, label="") = togglebuttons(x, label=label)
widget(x::Associative, label="") = togglebuttons(x, label=label) widget(x::Associative, label="") = togglebuttons(x, label=label)
widget(x::Bool, label="") = checkbox(x, label=label) widget(x::Bool, label="") = checkbox(x, label=label)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment