我使用Angular Material 创建了一个对话框,我在这里打开它,在component中,我定义了这些函数:this.dialog.open(ItemDialogsomeData: item.data} closeDialog(){ this.dialog.closeAll;
这是我的对话框定义constructor(@Inject(MAT_DIALOG_DATA) public data: D
角度材料性能差,内存占用大:
Issue: When added md-input-container to a page, the number of $watchers increased from17 times more than without the angular material tag* md-input-container和$mdDialog都会导致内存泄漏在Chrome中加载角度材料页面慢Chrome: angular材质使用的内存是没有它时的2.26倍3.即angular材质使用的内存是没有它时的1
我正在尝试构建一个包含大量数据的表,其中一些数据我希望在单击特定行后以模式显示。我创建了一个组件模式,它应该显示更多的数据,但问题是,当我单击特定的行时,它会将我带到另一个页面,我希望将其显示为模式,而不是在新页面中。 这是我的html <tr *ngFor="let data of listOfUsers" routerLink="/sidebarComp"> <td>{{data.ID}}