display component in popup angular 8
<h1 md-dialog-title class="primary-color">hey title</h1> <md-dialog-content class="accent-color"> hey this is the content of the dialog </md-dialog-content> <md-dialog-actions> <button md-raised-button color="primary" md-dialog-close> close button </button> </md-dialog-actions>
4.22
9
import {MatInputModule} from '@angular/material/input';
import {MatButtonModule} from '@angular/material/button';
import {MatCardModule} from '@angular/material/card';
import {MatFormFieldModule} from '@angular/material/form-field';
import {MatDialogModule } from '@angular/material/dialog';
Thank you!
9
0
Are there any code examples left?
New code examples in category Javascript