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

enhancement: multiple property setter #686

Closed
ctumolosus opened this issue Apr 13, 2012 · 1 comment
Closed

enhancement: multiple property setter #686

ctumolosus opened this issue Apr 13, 2012 · 1 comment

Comments

@ctumolosus
Copy link

Currently if I create a Class with say 'firstName' and 'lastName' as properties, I cannot call 'instance.set({ firstName: "Ember", lastName: "Js"' });' to set multiple properties. Instead, such call would add an undefined property with the passed object as its identifier ( [object Object] ) - I think it would be a nice feature to have.

@tomdale
Copy link
Member

tomdale commented Apr 13, 2012

Good suggestion! You can already do this with setProperties(). Would you consider filing a pull request to add this to the documentation?

@tomdale tomdale closed this as completed Apr 13, 2012
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

2 participants