For example, given the following code:
Inside the my-component/component.js
file, I need a method to get all the passed attributes, something like this:
{
foo: "bar",
baz: "qux"
}
Does Ember have something to accomplish this? Or the only way is to do something hacky?
Aucun commentaire:
Enregistrer un commentaire