Open Barralex opened 7 years ago
I had the same question and solved it by following this example: http://embed.plnkr.co/mbPzd8/
Specifically, look in app.comonent.ts at:
return this.modal.open(CustomModal, overlayConfigFactory({ num1: 2, num2: 3 }, BSModalContext));
}
One small change from the example: I had to add my modal component to the app.module.ts like so:
declarations: [ AppComponent, MyModalComponent ],
That example saved my life, thanks @jelling !
That's all guys, i can see in the docs that the plugin could render component but i really can't see how. There is some examples or something?
Very very thankful.