lundi 15 juillet 2019

Print out all of the parent and child routes in the template for Ember

Suppose I have an Ember route like the following

myApp/RouteA/RouteB/RouteC

Is there a way that I could get all the names of different route levels in either my route or controller?

The reason is because I'm trying to write an ember component that dynamically generates breadcrumbs.




Aucun commentaire:

Enregistrer un commentaire