[英]Angular 4 - IE11 : font-awesome is not working with angular2-multiselect-dropdown on IE11
[英]document.font.ready is coming as undefined in IE11 in Angular
我们必须支持 IE11 中的应用程序,并且我启用了差异加载并包含一些 polyfill,但仍然在 IE 11 中我可以看到一个错误 -
类型错误:无法获取未定义或 null 参考文档的属性“就绪”。fonts.ready。
有没有我可以包含的 polyfill 来解决这个问题。
IE11 不支持Document.fonts 。 所以document.fonts.ready
在 IE11 中不起作用。
作为一种解决方法,您可以使用FontFaceOnload 。 该演示在 IE11 中运行良好。 更多信息,你也可以参考这个答案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.