New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reactive arrays #44
Comments
I was able to get it working by tweeking a few things
|
@chrisbuttery but you have to |
I intentionally left out doing any watching with arrays, just because it comes with so many weird cases it adds a lot of scope creep and bloat. Like, should we be able to watch items in the array? What if items in the array are moved around? For simple values like in the example, setting it will work fine. But when it's an array of views it's trickier. I was working on having this functionality in a plugin: https://github.com/ripplejs/list but I didn't get around to finishing it. I'm happy to take on any suggestions to make iteration better though. |
I have a property set to an array and I want to be able to get its
length
attribute on the template.Is that possible using
ripplejs/ripple
standalone or using any plugin?My code looks like the following:
The text was updated successfully, but these errors were encountered: