Skip to content

Commit

Permalink
feat(typeahead): add exportAs property for ngbTypeahead
Browse files Browse the repository at this point in the history
Fixes #1559
  • Loading branch information
changLiuUNSW authored and maxokorokov committed Nov 21, 2017
1 parent 9e2df7f commit c318045
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/typeahead/typeahead.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ let nextWindowId = 0;
*/
@Directive({
selector: 'input[ngbTypeahead]',
exportAs: 'ngbTypeahead',
host: {
'(blur)': 'handleBlur()',
'[class.open]': 'isPopupOpen()',
Expand Down

0 comments on commit c318045

Please sign in to comment.