Skip to content

How to associate the change of "$vuetify.theme.dark" to the change of another variable. #70

Answered by jourdain
tayran-mila asked this question in Q&A
Discussion options

You must be logged in to vote

Patrick's suggestion is also really good. A summary of it can be seen below.

vuetify.VCheckbox(
   v_model="$vuetify.theme.dark",
   change="graph_theme = $event",
)

or

vuetify.VCheckbox(
   v_model=("graph_theme", False),
   change="$vuetify.theme.dark = $event",
)

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tayran-mila
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jourdain
Comment options

Comment options

You must be logged in to vote
1 reply
@jourdain
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants