0
In Ember 1.8 Ansichten war nicht veraltet, so hatte ich Pass-Ansicht als Layout für Ember Modal Box.Wie man Layout für Ember Modal Box in Ember 2.8 übergeben
Kürzlich habe ich auf ember 2.8.3 aktualisiert. und Ansicht wird nicht unterstützt.
actions: {
showModal: function (name, content) {
ModalContext.setProperties({"name":name});
this.controllerFor(name).set('content', content);
this.render(name, {
into: 'application',
outlet: 'modal',
view:'common/modal'
});
}
}
So legen Sie das Layout für die Modal-Box fest.
Vielen Dank im Voraus für Hilfe.
Danke @kumkanillam für die Antwort. –