Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:seiyria/ionic2-pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Jan 4, 2017
2 parents 0dd2185 + f0ec276 commit 779cdc3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ On mobile, this component would be mostly useless. If you're using Ionic 2 to bu

# How to use?

## Install
`npm install ionic2-pagination`

## Sample Usage
```html
<ionc-pagination
Expand All @@ -17,6 +20,14 @@ On mobile, this component would be mostly useless. If you're using Ionic 2 to bu
[pagination]="paginationInfo"></ionc-pagination>
```

```js
import { PaginationComponent } from 'ionic2-pagination';
// add PaginationComponent to `declarations`

import { Pagination } from 'ionic2-pagination';
// if you use typescript
```

### Why `ionc`?
Short for "Ionic Compatible" - I don't want to collide with them in case they ever create their own pagination component.

Expand Down

0 comments on commit 779cdc3

Please sign in to comment.