Skip to content

Commit

Permalink
Fix pager component.
Browse files Browse the repository at this point in the history
It was broken during Angular 2 → 4 upgrade, but it was just a small
typo.
  • Loading branch information
mehaase committed Feb 26, 2018
1 parent e9d3e3d commit f4cd0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/components/pager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Pager implements OnInit, OnChanges {
/// When a page is clicked, emit a Page instance.
final _onSelectPage = new StreamController<Page>.broadcast();
@Output()
Stream<Page> get onSelectPage => _onSelectPage.stream;
Stream<Page> get selectPage => _onSelectPage.stream;

/// Automatically hide this element when it has only 1 page.
@HostBinding('hidden')
Expand Down

0 comments on commit f4cd0cb

Please sign in to comment.