Skip to content

Commit

Permalink
fix(pagination): fix PageChangeEvent export (#3880)
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaSurmay authored and valorkin committed Feb 27, 2018
1 parent e741385 commit 083ad0c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { PageChangedEvent } from '../../../../../../../src/pagination/pagination.component';
import { PageChangedEvent } from 'ngx-bootstrap/pagination';

@Component({
selector: 'demo-pagination-content-switching',
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export {
PagerComponent,
PaginationComponent,
PaginationConfig,
PaginationModule
PaginationModule,
PageChangedEvent
} from './pagination/index';

export {
Expand Down
2 changes: 1 addition & 1 deletion src/pagination/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { PagerComponent } from './pager.component';
export { PaginationComponent } from './pagination.component';
export { PaginationComponent, PageChangedEvent } from './pagination.component';
export { PaginationModule } from './pagination.module';
export { PaginationConfig } from './pagination.config';

0 comments on commit 083ad0c

Please sign in to comment.