mercredi 2 novembre 2016

Getting all properties of an Ember Data model

I'm looking to figure out how I can get all the properties of an Ember Data model. Even just by their keys. Several of the properties are computed.or or computed properties generally.

modelName.eachAttribute() and Object.keys(modelName.toJSON()) get me close, but do not include computed properties.

Any ideas?




Aucun commentaire:

Enregistrer un commentaire