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

Move Quasar config to Python #1287

Merged
merged 2 commits into from
Aug 1, 2023
Merged

Move Quasar config to Python #1287

merged 2 commits into from
Aug 1, 2023

Conversation

rodja
Copy link
Member

@rodja rodja commented Jul 28, 2023

By making the Quasar config available through globals.quasar_config it can be configured/changed by the app. This can for example be used to disable the loading bar:

from nicegui import globals as nicegui_globals
...

nicegui_globals.quasar_config['loadingBar']['skipHijack'] = False

...

so it can be configured/changed by application
@rodja rodja added the enhancement New feature or request label Jul 28, 2023
@rodja rodja added this to the 1.3.7 milestone Jul 28, 2023
@falkoschindler
Copy link
Contributor

@rodja How can I reproduce the loading bar? I'd like to check if setting quasar_config has indeed an effect.

@falkoschindler falkoschindler merged commit 3b602ab into main Aug 1, 2023
6 checks passed
@falkoschindler falkoschindler deleted the quasar_config branch August 1, 2023 13:00
@falkoschindler
Copy link
Contributor

Ok, somehow the loading bar is gone. But changing the primary color using quasar_config works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants