How to use the @ng-bootstrap/ng-bootstrap.NgbTypeaheadModule.forRoot function in @ng-bootstrap/ng-bootstrap

To help you get started, we’ve selected a few @ng-bootstrap/ng-bootstrap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ORCID / ORCID-Source / orcid-web / src / main / webapp / static / javascript / ng1Orcid / app / modules / ng2_app.ts View on Github external
bootstrap: [
        RootCmp
    ],
    declarations: [
        RootCmp
    ],
    imports: [
        /* Ng Modules */
        BrowserModule,
        CommonModule, 
        FormsModule,
        ReactiveFormsModule,
        HttpClientModule, //angular5
        HttpModule, //Angular2
        JsonpModule,
        NgbTypeaheadModule.forRoot(),
        UpgradeModule,
        /* User Generated Modules */
        AccountSettingsNg2Module,
        AdminActionsNg2Module,
        AffiliationNg2Module,//Aproved
        AffiliationDeleteNg2Module,//Aproved
        AffiliationFormNg2Module,//Aproved
        AlertBannerNg2Module,
        AllConsortiumContactsNg2Module,
        AuthorizeDelegateResultNg2Module,
        BiographyNg2Module, //Approved
        ClaimNg2Module,
        ClientEditNg2Module,
        DelegatorsNg2Module,
        EmailsFormNg2Module,//Aproved
        EmailsNg2Module,//Aproved
github DSpace / dspace-angular / src / app / shared / form / builder / ds-dynamic-form-ui / ds-dynamic-form-control.component.spec.ts View on Github external
beforeEach(async(() => {

        TestBed.configureTestingModule({

            imports: [
                BrowserModule,
                DynamicFormsCoreModule,
                DynamicFormsNGBootstrapUIModule,
                FormsModule,
                ReactiveFormsModule,
                NgbButtonsModule,
                NgbModule.forRoot(),
                NgbDatepickerModule.forRoot(),
                NgbTimepickerModule.forRoot(),
                NgbTypeaheadModule.forRoot(),
                TextMaskModule,
                DynamicFormsCoreModule.forRoot(),
                InfiniteScrollModule
            ],
            declarations: [
              DsDynamicScrollableDropdownComponent,
              DsDynamicTypeaheadComponent,
              DsDynamicFormComponent,
              DsDynamicFormControlComponent
            ]

        }).compileComponents().then(() => {

            fixture = TestBed.createComponent(DsDynamicFormControlComponent);

            component = fixture.componentInstance;
github DSpace / dspace-angular / src / app / shared / form / form.module.ts View on Github external
} from './builder/ds-dynamic-form-ui/ds-dynamic-form.component';
import { DsDynamicTypeaheadComponent } from './builder/model/typeahead/dynamic-typeahead.component';
import { DsDynamicScrollableDropdownComponent } from './builder/model/scrollable-dropdown/dynamic-scrollable-dropdown.component';
import { FormService } from './form.service';
import { FormBuilderService } from './builder/form-builder.service';

@NgModule({
  imports: [
    BrowserModule,
    FormsModule,
    InfiniteScrollModule,
    ReactiveFormsModule,
    NgbModule.forRoot(),
    NgbDatepickerModule.forRoot(),
    NgbTimepickerModule.forRoot(),
    NgbTypeaheadModule.forRoot(),
    DynamicFormsCoreModule.forRoot(),
    DynamicFormsNGBootstrapUIModule,
    TextMaskModule
  ],
  declarations: [
    DsDynamicFormComponent,
    DsDynamicFormControlComponent,
    DsDynamicScrollableDropdownComponent,
    DsDynamicTypeaheadComponent,
    FormComponent,
  ],
  exports: [
    DsDynamicFormComponent,
    DsDynamicFormControlComponent,
    DsDynamicScrollableDropdownComponent,
    DsDynamicTypeaheadComponent,