Skip to content

Is it possible to reference method's parameters inside v_if sentence? #554

Answered by jourdain
jealtw asked this question in Q&A
Discussion options

You must be logged in to vote
def common_params_table(category):
    with html.Tbody(v_for="(item, index) in Params", key="index"):
        with html.Tr(v_if=f"item.category == {category}"):
             ...

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@jealtw
Comment options

@jealtw
Comment options

Comment options

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

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