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 have a basic interactive UI element, here a checkbox is initially false, and when ticked, allows two other text input boxes to be shown for user interaction, of course this goes into a main(window) function body:
use_windows =Signal(false)
window_check =checkbox("Use sliding windows") >>> use_windows
wsize =textinput("100", label ="Window size")
wstep =textinput("100", label ="Window step")
window_box =map(use_windows) do val
vbox(
window_check,
if val
hbox(wsize, wstep)
end
)
end
However in my rendered web ui, when the box is unticked - hiding the two text inputs, the word 'nothing' is printed underneath. I wondered if to solve this there is some blank tile which draws nothing is available for me to add as an else clause?
Thanks for Escher, I'm enjoying it very much,
Ben.
The text was updated successfully, but these errors were encountered:
On 13-Dec-2016 10:15 PM, "Ben J. Ward" ***@***.***> wrote:
Hi,
I have a basic interactive UI element, here a checkbox is initially false,
and when ticked, allows two other text input boxes to be shown for user
interaction, of course this goes into a main(window) function body:
use_windows = Signal(false)
window_check = checkbox("Use sliding windows") >>> use_windows
wsize = textinput("100", label = "Window size")
wstep = textinput("100", label = "Window step")
window_box = map(use_windows) do val
vbox(
window_check,
if val
hbox(wsize, wstep)
end
)
end
However in my rendered web ui, when the box is unticked - hiding the two
text inputs, the word 'nothing' is printed underneath. I wondered if to
solve this there is some blank tile which draws nothing is available for me
to add as an else clause?
Thanks for Escher, I'm enjoying it very much,
Ben.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#201>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABlPDi2BCZa2z3IYYWj-P2BwYC6rHXiks5rHsvAgaJpZM4LL9Q5>
.
Hi,
I have a basic interactive UI element, here a checkbox is initially false, and when ticked, allows two other text input boxes to be shown for user interaction, of course this goes into a main(window) function body:
However in my rendered web ui, when the box is unticked - hiding the two text inputs, the word 'nothing' is printed underneath. I wondered if to solve this there is some blank tile which draws nothing is available for me to add as an
else
clause?Thanks for Escher, I'm enjoying it very much,
Ben.
The text was updated successfully, but these errors were encountered: