Skip to content
Discussion options

You must be logged in to vote

To get your python test() function be passed the active array parameter from the client modify your code like so:

def test(active):
    print(active)

vuetify.VTreeview(
    ...,
    update_active=(test, "[$event]"),
    ...,
)

Read more about methods binding here: https://kitware.github.io/trame/guide/intro/cheatsheet.html#method-binding

Replies: 2 comments 2 replies

Comment options

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

Answer selected by AndiSchratti
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants