0
我已经使用Ng2ModalWindow在我的项目中显示模式弹出。Angular4 Ng2ModalWindow
我已经在模态中使用'componentSelector'显示了一个组件(editComponent)。我在editComponent中有一个标有“更新”的按钮。
在更新按钮单击上,我希望编辑组件的数据传递到打开窗口的位置。
这是如何实现的?
样品:
父组件:
Ng2ModalWindow.showModal(this.modalId, {
title: 'Modal',
customClass: 'modal-lg',
overlayClick: false,
componentSelector: 'editComponent'
});
感谢您的快速reply.I我能够从我的父母的价值观传递给现有的componentSelector.But不viceversa.Is任何plunker的例子吗? – Nava