We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to change the DOM styling of items according to their position. The following image is an example of doing so in our app:
I would ideally like to write components that look at its index for rendering different display information:
{{#each emailAddresses as |emailAddress index|}} {{email-address-item email=emailAddress index=index}} {{/each}}
The text was updated successfully, but these errors were encountered:
this would be amazing. I wonder if you can have multiple block params. @mmun @mixonic @rwjblue
Sorry, something went wrong.
@fivetanley you can (or will be able to). The index here would be lovely..
@tim-evans This should be easy to add if you're up for it. I think you can just change https://github.com/emberjs/ember.js/blob/master/packages/ember-views/lib/views/collection_view.js#L360 to [item, idx].
[item, idx]
Ok! It seems strange that the test for this belongs in ember-htmlbars. It's a tad confusing
eec721c
No branches or pull requests
I would like to change the DOM styling of items according to their position.
The following image is an example of doing so in our app:
I would ideally like to write components that look at its index for rendering different display information:
The text was updated successfully, but these errors were encountered: