D
D
Dima Pautov2016-11-28 09:48:03
Ember.js
Dima Pautov, 2016-11-28 09:48:03

How to display the required component on the desired root?

Good morning! Help please, how to display the component on the root?
For example, I want to display a modal window only on the main page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Romanov, 2016-11-28
@bootd

// app/templates/index.hbs

{{outlet}}

{{modal-bla-bla-bla isShown=true}}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question