@ng-bootstrap/ng-bootstrap#NgbDropdownModule TypeScript Examples

The following examples show how to use @ng-bootstrap/ng-bootstrap#NgbDropdownModule. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: app.module.ts    From 1hop with MIT License 6 votes vote down vote up
@NgModule({
    declarations: [
        AppComponent,
        MigrationComponent,
        BaseComponent,
        NoContentComponent,
        ImportComponent,
        ManageComponent,
        MigrateComponent
    ],
    imports: [
        BrowserAnimationsModule,
        AppRoutingModule,
        NgbAlertModule,
        NgbDropdownModule,
        FontAwesomeModule,
        NgbDropdownModule,
        FormsModule,
        NgbModule,
        HttpClientModule,
        LoadingSpinnerModule,
        ModalModule.forRoot(),
        NgbToastModule,
        ServiceWorkerModule.register('ngsw-worker.js', {
            enabled: navigator.userAgent.toLowerCase().indexOf('android') === -1 &&
                'serviceWorker' in navigator && environment.production
        }),
        FontAwesomeModule
    ],
    providers: [],
    bootstrap: [AppComponent]
})
export class AppModule {
}
Example #2
Source File: oi-ui.module.ts    From 1x.ag with MIT License 6 votes vote down vote up
@NgModule({
    declarations: [
        TokenSelectorComponent,
        TokenAmountFieldComponent,
        OptionSelectorComponent
    ],
    exports: [
        TokenSelectorComponent,
        TokenAmountFieldComponent,
        OptionSelectorComponent,
        OptionSelectorComponent
    ],
    imports: [
        CommonModule,
        NgbDropdownModule,
        ReactiveFormsModule
    ]
})
export class OiUiModule {
}
Example #3
Source File: youpez.module.ts    From youpez-admin with MIT License 6 votes vote down vote up
MainModules = [
  RouterModule,
  FlexLayoutModule,
  ResizableModule,
  BemModule,
  NgbDropdownModule,
  NgbTooltipModule,
  DragDropModule,
  A11yModule,
  ReactiveFormsModule,
  MatDialogModule,
]