如何在Angular Kendo中覆盖对话,以获取开放和关闭方法?
I want to intercept the open and close events to put validation logics but that at the level of all dialogs, so the most ideal solution is to overwrite the DialogService
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在某些情况下,最好捕获太大的系统中的开放和关闭事件,无法重构项目的每个实例。
该解决方案是在下一个URL中:
https://stackblitz.com/edit/edit/edit/angular-98yhlh-b7hiyf?file = src%2fapp%2fapp%2fpapp%2fpapp; 2f%40progress%2fkendo-angular-dialog%2fdialog%2fdialog.service.d.t.ts
In some cases it is good to capture opening and closing events in systems that are too large not to refactor every instance of a project.
The solution is in the next URL :
https://stackblitz.com/edit/angular-98yhlh-b7hiyf?file=src%2Fapp%2Fapp.component.ts,node_modules%2F%40progress%2Fkendo-angular-dialog%2Fdialog%2Fdialog.service.d.ts