Skip to content

Commit

Permalink
feat(typeahead): export the NgbHighlight component
Browse files Browse the repository at this point in the history
Enables users to reuse the same highlight behavior
as the default one when using custom result templates.

Closes #1553
Closes #1555
  • Loading branch information
Alexandre Payette authored and pkozlowski-opensource committed May 23, 2017
1 parent 4a64e73 commit a89cc97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export {
export {NgbTimepickerModule, NgbTimepickerConfig, NgbTimeStruct, NgbTimepicker} from './timepicker/timepicker.module';
export {NgbTooltipModule, NgbTooltipConfig, NgbTooltip} from './tooltip/tooltip.module';
export {
NgbHighlight,
NgbTypeaheadModule,
NgbTypeaheadConfig,
NgbTypeaheadSelectItemEvent,
Expand Down
2 changes: 1 addition & 1 deletion src/typeahead/typeahead.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export {NgbTypeahead, NgbTypeaheadSelectItemEvent} from './typeahead';

@NgModule({
declarations: [NgbTypeahead, NgbHighlight, NgbTypeaheadWindow],
exports: [NgbTypeahead],
exports: [NgbTypeahead, NgbHighlight],
imports: [CommonModule],
entryComponents: [NgbTypeaheadWindow]
})
Expand Down

0 comments on commit a89cc97

Please sign in to comment.