Skip to content
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

Accessing the keys of an EmberFire Array #13

Closed
jondthompson opened this issue Dec 30, 2013 · 1 comment
Closed

Accessing the keys of an EmberFire Array #13

jondthompson opened this issue Dec 30, 2013 · 1 comment

Comments

@jondthompson
Copy link

It would be handy if EmberFire would provide a _key field that contains the ID of the array item.

I've hacked one up, but I'm working in the ObjectArray fork, so I'm not going to commit it. I also have the problem of not actually wanting the _key field to propagate to Firebase.

@jondthompson
Copy link
Author

Nevermind. I undid my changes once I realized I could access model.ref.name()

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

No branches or pull requests

1 participant