mardi 11 août 2015

Get Ember component's name

If I call Ember.inspect(component), I get a response like:

<app@component:my-component::ember1246>

This suggests that the component is aware of its own name (my-component). Is there a way to access just that name?

Aucun commentaire:

Enregistrer un commentaire