项目作者: jadjoubran

项目描述 :
A tiny Angular wrapper for Material Design Lite
高级语言: JavaScript
项目地址: git://github.com/jadjoubran/angular-material-design-lite.git
创建时间: 2015-07-07T19:35:33Z
项目社区:https://github.com/jadjoubran/angular-material-design-lite

开源协议:MIT License

下载


angular-material-design-lite

Version 0.3.0

Angular Material Design Lite

Angular wrapper for Material Design Lite.

View Documentation & Demo

Installation

  1. bower install angular-material-design-lite --save

or using npm

  1. npm install angular-material-design-lite --save

Supported Directives

Check Documentation

Configuration options

Floating text labels and ripple effect are enabled by default.
Here’s how you can disable them:

  1. angular.module('your-app').config(function(mdlConfigProvider){
  2. mdlConfigProvider.floating = false;
  3. mdlConfigProvider.rippleEffect = false;
  4. });

Upgrading components in dynamic templates

You can use the mdl-upgrade attribute directive on elements that are inside ng-if or dynamically injected templates.
Check issue #4 for more information.

Questions, Issues and Feature Requests

Open a new issue.

What’s next?

Here’s what I’m planning for the next releases

  • prism.js for docs
  • add tooltip support
  • add tabs support
  • support indeterminate progress bar
  • move additional attributes from directive to element
  • abstract ngClass conditions into service
  • split components across multiple files
  • automate releases using gulp