mardi 22 novembre 2016

How to find value of computed property of a component from javascript console(chrome/firefox console) in emberjs?

How can I find the following values in Emberjs from console:

  1. Value of Computed Property of some component
  2. Value of a Service

I know it is possible with the use of __container__ but I'm not able to find it in documentation or any other forum.

Since we are not using ember-data and are actually using several custom services(e.g. data, ajax, session,...) this has become essential for us to find some way to get the value of computed property and service from console.




Aucun commentaire:

Enregistrer un commentaire