Angular2 based Material Design components, directives and services are Accordion, Autocomplete, Collapse, Colorpicker, Datepicker, Dialog(Modal), Menu, Multiselect, Select, Tabs, Tags(Chips), Toast and Tooltip.
- A recommended way to install md2 is through npm package manager using the following command:
npm install md2 --save
- Setup
MD2
in your project
// system.config.js
// ================
{
map: {
'md2': 'md2/bundles/md2.umd.js'
}
}
// app.module.ts
// =============
import { Md2Module } from 'md2';
@NgModule({
imports: [
...,
Md2Module.forRoot(),
],
...
})
export class AppModule { }
- More information regarding of using md2 is located in demo and demo sources.