javascript Angular 材质的浏览器支持

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34052885/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-28 17:11:29  来源:igfitidea点击:

Browser support for Angular material

javascriptcssangularjsflexboxangularjs-material

提问by Aminadav Glickshtein

I want to use Angular Material for my next projects. https://material.angularjs.org

我想在我的下一个项目中使用 Angular Material。https://material.angularjs.org

I didn't find any documentation about which browsers it supports. Anyone knows how it internally works and what to expect?

我没有找到任何关于它支持哪些浏览器的文档。任何人都知道它内部是如何工作的以及会发生什么?

From what I understand flexcss attribute, for example not supported by IE<10. Do you know if Angular material, has any fallback design for using without the flexcss?

据我了解flexcss 属性,例如 IE<10 不支持。您知道 Angular 材料是否有任何可以在没有flexcss 的情况下使用的后备设计吗?

http://caniuse.com/#feat=flexbox

http://caniuse.com/#feat=flexbox

采纳答案by caballerog

From the official documentation:

来自官方文档

Please note that using Angular Material requires the use of Angular 1.3.x or higher. Angular Material is targeted for all browsers with versions n-1; where n is the current browser version.

请注意,使用 Angular Material 需要使用 Angular 1.3.x 或更高版本。Angular Material 适用于所有版本为 n-1 的浏览器;其中 n 是当前浏览器版本。

Also you can find several polyfill to extend the Browser's compatibility reading in their official forum: https://groups.google.com/forum/#!forum/ngmaterial

你也可以在他们的官方论坛中找到几个 polyfill 来扩展浏览器的兼容性阅读:https: //groups.google.com/forum/#!forum/ ngmaterial

回答by Rahul Talar

As Angular Material uses CSS3 Flexbox, supported browsers are:

由于 Angular Material 使用 CSS3 Flexbox,支持的浏览器有:

  • IE 11+,
  • Chrome,
  • Safari,
  • Firefox,
  • Android 4.2+and
  • iOS 8+.
  • IE 11+
  • 野生动物园
  • 火狐
  • 安卓 4.2+
  • iOS 8+

More details can be found at angularjs.blogspot.co.uk.

更多细节可以在angularjs.blogspot.co.uk找到。