0

It is possible to create routes with dynamic hierarchies?

I need to define a route to a modal, and preserve the view of the previous route, and this modal can be accessed from the application of the index or any other route.

example:

/ modal Maintains the view of the home and displays the modal.

/ sub-page / modal Keeps view of sub-page and displays the modal

0

1 Answer 1

1

There is an example of how to display modal dialogs in the Ember cookbooks: http://emberjs.com/guides/cookbook/user_interface_and_interaction/using_modal_dialogs/

The technique involves creating a separate outlet for your modal. You can put this in your application template and control its position in the DOM.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for your reply Steve, but I need open this mobal by a router.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.