I am new to angular2 and im using angular2-mdl for my project. i tried to implement custom dialog given in the http://mseemann.io/angular2-mdl/dialogs but i am not to get it work. I am getting errors
Cannot find name 'MdlDialogReference'. Property 'dialogService' does not exist on type 'AppComponent'
You can find a simple working example here: http://plnkr.co/edit/HgAvCnzkWAmK1NVxfEUM?p=preview
It's probably the missing dialogService
property in you 'AppComponent':
constructor(private dialogService: MdlDialogService){
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.