-
-
Notifications
You must be signed in to change notification settings - Fork 530
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
Add loading_indicator to global config #4259
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4259 +/- ##
==========================================
+ Coverage 82.71% 82.73% +0.01%
==========================================
Files 237 237
Lines 34283 34320 +37
==========================================
+ Hits 28358 28395 +37
Misses 5925 5925
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This app can be used for manual testing import time
import param
import panel as pn
pn.extension(loading_indicator=True)
class App(param.Parameterized):
run = param.Event()
clicks = param.Integer(-1)
@pn.depends("run")
def click_view(self):
self.clicks+=1
time.sleep(0.5)
return f"Clicked {self.clicks} times"
app=App()
pn.Column(app.param.run, app.click_view).servable() Assetsloading-indicator.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you!
Closes #4258