Y
Hacker News
new
|
ask
|
show
|
jobs
by
dandanua
1880 days ago
This can be easily solved. You can bind a variable to a checkbox like this:
@bind allow_run html"Run cell below <input type=checkbox>"
and wrap your long running cell in the if block:
if allow_run your_code end