我最近在我的angular项目中添加了angular材质,但在将@angular/material添加到我的项目后不久,animate.js提供的一些动画就停止工作了。 有没有什么方法可以让animate.js和angular材质一起工作? 控制台错误: Module build failed: Error: ENOENT: no such file or directory, open 'node_modules/zone.js/dist/zone-evergreen.js' 但我确实在那个路径上有那个文件。
我正在尝试添加材料设计到jhipster生成的网关。尽管它似乎在工作,但我在控制台上得到了这个警告;
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
Could not find HammerJS. Certain Angular Material components may not w
我通过通过npm install --save angular-sweetalert安装了^1.1.2,并试图通过注入:
var app = angular.module('myApp', [
require('angular-sweetalert') // doesn't work
]);
我得到了下面的错误
Uncaught Error: [$injector:modulerr] Failed to instantiate module myApp due to:
Error: [$injector:modulerr] Failed to i
角度材料性能差,内存占用大:
Issue: When added md-input-container to a page, the number of $watchers increased from 6504 to 112507?, by total 17 times more than without the angular material tag* md-input-container和$mdDialog都会导致内存泄漏在Chrome中加载角度材料页面慢4倍,在IE中几乎无法加载。‘预期的行为是什么?期望Angular material应用程序与angular only应用程序执行类
Angular2材质的示例应用程序有一个对话框,该对话框返回字符串值,该值是用户编写的消息。但是,如果我想提示用户输入更多信息而不仅仅是一条消息,该怎么办?
换句话说,在使用Angular2材料时,我不知道如何使表单的行为像一个对话框。
这是我引用的示例应用程序:
在中
@Component({
template: `
<p>This is a dialog</p>
<p>
<label>
This is a text box inside of a dialog.
<inpu