Skip to content

Commit

Permalink
fix(View More Bar): Added 'on' to function to make funcionality explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
liviaalmeida committed Aug 26, 2019
1 parent 9b203ec commit 1f0a050
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/viewMoreBar/viewMoreBar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ import './ViewMoreBar.scss';
bindings: {
iconName: '@',
message: '@',
loadMore: '&',
onLoadMore: '&',
}
})

export class ViewMoreBar implements IComponentController {
iconName: string;
message: string;
loadMore: () => {};
onLoadMore: () => {};

load() {
this.loadMore();
this.onLoadMore();
}
}

Expand Down

0 comments on commit 1f0a050

Please sign in to comment.