iwe7-ng-dialog
v0.0.3
Published
```html <button (click)="dialog.show(body)">show templateRef dialog</button>
Downloads
10
Readme
<button (click)="dialog.show(body)">show templateRef dialog</button>
<ng-template #body>
<button (click)="showComp()">show component dialog</button>
</ng-template>
import { DialogService } from 'ng-dialog';
constructor(private dialog: DialogService) {}
showComp() {
this.dialog.show(TestDialogComponent);
}