ng2-dynamic-dialog
ng2-dynamic-dialog copied to clipboard
Dynamically resize based on the size of the host window
Hi, i am trying to trigger dialog with my own custom component which when a button is pressed, it will pop up a dialog for payment. Basically the problem i am encountering is that it does not automatically resize the dialog based on the height and width of my components when i did not specify the dialogContent.height and dialogContent.width
.
The only way i can resize it is through using
dialogContent.height = 800;
dialogContent.width = 800;
which will gives me this
Any idea how can i automatically resize the custom components ?