hi, any one knows how to pass multiple data to dialoge box?
For further actions, you may consider blocking this person and/or reporting abuse
For further actions, you may consider blocking this person and/or reporting abuse
Rajesh Dhiman -
Khang Tran -
Mayank Kumar -
Tiago Temporin -
Top comments (4)
What type of dialog boxes ?
Or is your question how to pass multiple properties to a component ?
Or do you open a javascript dialog with window.open ?
Matdialoge box
MatDialogConfig has a 'data' property.
Maybe this is the place for own properties ?
MatDialogConfig is the second parameter of the open method.
Edit:
When I understand it correctly.
In your own dialog component you can than later access the MatDialogRef in your constructor.
Edit:
This looks better:
you can inject the data.
Ok