ngx-bootstrap
Version:
Angular Bootstrap
23 lines • 951 B
JavaScript
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { TypeaheadContainerComponent } from './typeahead-container.component';
import { TypeaheadDirective } from './typeahead.directive';
import { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';
import { PositioningService } from 'ngx-bootstrap/positioning';
export class TypeaheadModule {
static forRoot() {
return {
ngModule: TypeaheadModule,
providers: [ComponentLoaderFactory, PositioningService]
};
}
}
TypeaheadModule.decorators = [
{ type: NgModule, args: [{
imports: [CommonModule],
declarations: [TypeaheadContainerComponent, TypeaheadDirective],
exports: [TypeaheadContainerComponent, TypeaheadDirective],
entryComponents: [TypeaheadContainerComponent]
},] }
];
//# sourceMappingURL=typeahead.module.js.map