Skip to content

Controlling the sensitive value for list items #627

Answered by AaronErhardt
pieterdd asked this question in Q&A
Discussion options

You must be logged in to vote

Wouldn't that require being notified whenever one of the two variables that make up the expression changes?

Yes, that is certainly the case. I don't know if there's a better solution that updating each list item because every item has to be notified. Bindings are not supposed to handle expressions and that would not change the fact that you have to run some code for each list item, it would just be hidden. So in the end an hypothetical "expression binding" would just make the code a little bit cleaner.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@pieterdd
Comment options

@AaronErhardt
Comment options

Answer selected by pieterdd
@pieterdd
Comment options

@pieterdd
Comment options

@AaronErhardt
Comment options

@pieterdd
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
2 participants