Skip to content

jasonmc86/angular2-material-build

 
 

Repository files navigation

Builds for Angular 2 Material Design module.

Sources: https://github.com/angular/angular/tree/master/modules/angular2_material

How to use + Example

To install, simply include angular2_material.dev.js and angular2_material.css in your application.

Code sample - shows how to use MdCheckbox:

import {Component, View, bootstrap} from 'angular2/angular2';
import {MdCheckbox} from 'angular2_material/material';

@Component({
    selector: 'my-component'
})
@View({
	template: `
		<md-checkbox>Please check me</md-checkbox>
	`,
	directives: [MdCheckbox]
})
class MyAppComponent {
	/* ... */
}

Online demo

Check out this demo on Plunker

About

Material Design for Angular2

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.2%
  • CSS 40.8%