dimanche 6 août 2017

Wrap routes inside a container in Ember 2

I have an ember route/templates with some content inside. I want to show this content in two different ways in my app. The first way is with a Container that wrap it with additional functionalities, the second way is just to show the content of the route.

+-Container---+
|             | 
+-Content-----+   +-Content---+
||           ||   |           |
||           ||   |           |
|-------------|   +-----------+
+-------------+

What is the correct way to do it using Ember 2? Query params? Nested routes?




Aucun commentaire:

Enregistrer un commentaire