Momentum Table
MomentumTable is material based rich DataTable component for Angular, based on material DataTable guideline.
Install
You can use either the npm or yarn command-line tool to install MomentumTable.
NPM
npm install momentum-table --save
Yarn
yarn add momentum-table
Dependency
MomentumTable is dependent on angular material.
If you don't have material please refer getting started guide of angular material.
Add MomentumTableModule
Import and include MomentumTableModule
in your application Module
import {MomentumTableModule} from 'momentum-table';
@NgModule({
...
imports: [
...,
BrowserAnimationsModule,
MomentumTableModule,
...
],
...
})
export class AppModule { }
Note : BrowserAnimationsModule
or NoopAnimationModule
is required
add material icon set in index.html file
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">