Is it possible to update the global passthrough at runtime? #531
Unanswered
adambergman
asked this question in
PrimeVue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using unstyled mode, the global passthrough is set with
app.use
. Is it possible to change this during runtime?For instance, if a user clicks a dropdown to select a different theme, it would be great to be able to define a new theme with a single passthrough object one spot and modify the global settings at runtime vs. keeping track of a PT object in the application state and having to add
:pt="globalPTFromState"
to every component in every file.Beta Was this translation helpful? Give feedback.
All reactions