Angular的Material风格组件,Angular Material 1.0 发布

jopen 8年前

Angular Material 1.0 发布了

Angular Material 是一组实现Google Material Design 规范的32个UI组件,可用于AngularJS单页应用中。这个版本适用于AngularJS 1.x 并且需要最新的 AngularJS 1.3.x 才能运行。

Angular Material 包含了常用UI元素 - Button, Checkbox, Icon, List, Menu,等 -, 但也有一些更复杂的比如 Card, Datepicker, Speed Dial, FAB Toolbar, Grid List or Virtual Repeat, the latest reusing the visible rows in a list for performance reasons to deal with a large amount of data. The library includes a set of AngularJS directives for creating responsive layouts based on Flexbox.

Angular Material enables developers to customize the components by using CSS or themes. With CSS one can modify the look of text, buttons and checkboxes. A theme establishes a color palette that is to be used throughout the entire application.

Google intends to support the next to the latest version of the major browsers, and Angular Material has been tested with Chrome, Firefox, IE 11+, Safari, Android 4.2+ and iOS 8+. The library does not behave properly when used together with ngTouch and Ionic in a mobile application due to a conflict in handing touch commands.

For the near future, Google will attempt to keep up with the official Material Design specification. A team has also started working on a version of the UI library for AngularJS 2.0