File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 11#Changelog
22
3+ ## 0.4.2 (2016-05-08)
4+
5+ Breaking changes:
6+
7+ - update angular library to 2.0.0-rc.0
8+
9+ #Changelog
10+
311## 0.3.0 (2016-05-08)
412
513Breaking changes:
Original file line number Diff line number Diff line change 1- # DataTable component for Angular2
1+ # Table component with sorting and pagination for Angular2
22[ ![ npm version] ( https://badge.fury.io/js/angular2-datatable.svg )] ( https://badge.fury.io/js/angular2-datatable )
33[ ![ Build Status] ( https://travis-ci.org/mariuszfoltak/angular2-datatable.svg?branch=master )] ( https://travis-ci.org/mariuszfoltak/angular2-datatable )
44[ ![ Code Climate] ( https://codeclimate.com/github/mariuszfoltak/angular2-datatable/badges/gpa.svg )] ( https://codeclimate.com/github/mariuszfoltak/angular2-datatable )
@@ -12,14 +12,14 @@ Check [live demo](http://plnkr.co/edit/tINlfy?p=preview) in plunker
1212## Installation
1313
1414```
15- npm -i angular2-datatable
15+ npm i -S angular2-datatable
1616```
1717
1818## Usage example
1919
2020app.ts
2121``` typescript
22- import {Component } from ' angular2 /core' ;
22+ import {Component } from ' @angular /core' ;
2323 import {DataTableDirectives } from ' angular2-datatable/datatable' ;
2424
2525 @Component ({
@@ -52,7 +52,7 @@ app.html
5252 </tr >
5353 </thead >
5454 <tbody >
55- <tr *ngFor =" # item of mf.data" >
55+ <tr *ngFor =" let item of mf.data" >
5656 <td >{{item.name}}</td >
5757 <td >{{item.email}}</td >
5858 <td class =" text-right" >{{item.age}}</td >
Original file line number Diff line number Diff line change 11{
22 "name" : " angular2-datatable" ,
3- "version" : " 0.4.1 " ,
3+ "version" : " 0.4.2 " ,
44 "description" : " DataTable component for Angular2 framework" ,
55 "main" : " datatable" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments