How to use the ngx-bootstrap.TooltipModule.forRoot function in ngx-bootstrap

To help you get started, we’ve selected a few ngx-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 oliviersinnaeve / b2bcoin-wallet / front-coin-wallet / src / app / app.module.ts View on Github external
declarations: [
        App
    ],
    imports: [ // import Angular's modules
        BrowserModule,
        // shown passing optional global defaults
        AdsenseModule.forRoot({
            adClient: 'ca-pub-5721689054603180',
            adSlot: 6949772221,
        }),
        HttpClientModule,
        RouterModule,
        FormsModule,
        ReactiveFormsModule,
        NgaModule.forRoot(),
        TooltipModule.forRoot(),
        SimpleNotificationsModule.forRoot(),
        MarkdownModule.forRoot(),
        PagesModule,
        ApiModule,
        ApiModuleCoin,
        TranslateModule.forRoot(),
        routing
    ],
    providers: [ // expose our Services and Providers into Angular's dependency injection
        ENV_PROVIDERS,
        APP_PROVIDERS,
        {provide: user.BASE_PATH, useValue: baseUrl + "/user/api"},
        {provide: b2bcoin.BASE_PATH, useValue: baseUrl + "/b2bcoin/api"}
    ]
})
github marklogic / marklogic-data-hub / web / src / main / ui / app / components / common / common.module.ts View on Github external
import {CommonModule} from "@angular/common";
import {RouterModule} from '@angular/router';
import {HttpErrorComponent} from './http-error/http-error.component';
import {ConfirmationDialogComponent} from "./confirm-dialog/confirm-dialog.component";
import {AlertDialogComponent} from "./alert-dialog/alert-dialog.component";
import {InfoLabelComponent} from "./info-label/info-label-component";
import {SpinnerComponent} from './spinner/spinner.component';
import {MaterialModule} from "../theme/material.module";
import {TooltipModule} from "ngx-bootstrap";


@NgModule({
  imports: [
    CommonModule,
    MaterialModule,
    TooltipModule.forRoot(),
    RouterModule
  ],
  exports: [
    ConfirmationDialogComponent,
    AlertDialogComponent,
    InfoLabelComponent,
    SpinnerComponent,
    HttpErrorComponent
  ],
  declarations: [
    ConfirmationDialogComponent,
    AlertDialogComponent,
    InfoLabelComponent,
    SpinnerComponent,
    HttpErrorComponent
  ],
github fabric8-ui / fabric8-ui / packages / fabric8-ui / src / app / profile / settings / connected-accounts / connected-accounts.module.ts View on Github external
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { TooltipModule } from 'ngx-bootstrap';
import { ConnectedAccountsRoutingModule } from './connected-accounts-routing.module';
import { ConnectedAccountsComponent } from './connected-accounts.component';

import { TenantService } from '../../services/tenant.service';
@NgModule({
  imports: [RouterModule, CommonModule, ConnectedAccountsRoutingModule, TooltipModule.forRoot()],
  declarations: [ConnectedAccountsComponent],
  providers: [TenantService],
  exports: [ConnectedAccountsComponent],
})
export class ConnectedAccountsModule {}
github DSpace / dspace-angular / src / app / entity-groups / research-entities / metadata-representations / person / person-item-metadata-list-element.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      imports: [TooltipModule.forRoot()],
      declarations: [PersonItemMetadataListElementComponent],
      schemas: [NO_ERRORS_SCHEMA]
    }).overrideComponent(PersonItemMetadataListElementComponent, {
      set: { changeDetection: ChangeDetectionStrategy.Default }
    }).compileComponents();
  }));
github spring-cloud / spring-cloud-dataflow-ui / ui / src / app / apps / apps-add / apps-add.component.spec.ts View on Github external
TestBed.configureTestingModule({
      declarations: [
        AppsAddComponent,
        DATAFLOW_PAGE,
        DATAFLOW_LIST,
        PagerComponent,
        TippyDirective
      ],
      imports: [
        ModalModule.forRoot(),
        PopoverModule.forRoot(),
        ReactiveFormsModule,
        FormsModule,
        NgxPaginationModule,
        BsDropdownModule.forRoot(),
        TooltipModule.forRoot(),
        RouterTestingModule.withRoutes([])
      ],
      providers: [
        { provide: AppsService, useValue: appsService },
        { provide: RoutingStateService, useValue: routingStateService },
        { provide: BsModalRef, useValue: bsModalRef },
        { provide: NotificationService, useValue: notificationService }
      ]
    })
      .compileComponents();
  }));
github fabric8-ui / fabric8-ui / packages / planner / src / app / components_ngrx / planner-board / planner-board.module.ts View on Github external
ColumnWorkItemQuery,
    ErrorHandler,
  ],
  imports: [
    CommonModule,
    DragulaModule,
    F8SortByPipeModule,
    PlannerBoardRoutingModule,
    PlannerBoardColumnModule,
    PlannerCardModule,
    PlannerLayoutModule,
    PlannerModalModule,
    WorkItemPreviewPanelModule,
    SidepanelModule,
    FeatureFlagModule,
    TooltipModule.forRoot(),
    StoreModule.forFeature(
      'boardView',
      {
        boards: BoardReducer,
        columnWorkItem: ColumnWorkItemReducer,
        boardUi: BoardUIReducer,
      },
      {
        initialState: {
          boards: InitialBoardState,
          columnWorkItem: InitialColumnWorkItemState,
          boardUi: InitialBoardUIState,
        },
      },
    ),
    EffectsModule.forFeature([BoardEffects]),
github spring-cloud / spring-cloud-dataflow-ui / ui / src / app / analytics / analytics.component.spec.ts View on Github external
beforeEach(async(() => {
    activeRoute = new MockActivatedRoute();
    TestBed.configureTestingModule({
      declarations: [
        AnalyticsComponent,
        DATAFLOW_PAGE,
        DATAFLOW_LIST,
        PagerComponent
      ],
      imports: [
        BsDropdownModule.forRoot(),
        NgxPaginationModule,
        ReactiveFormsModule,
        FormsModule,
        TooltipModule.forRoot(),
        RouterTestingModule.withRoutes([])
      ],
      providers: [
        { provide: ActivatedRoute, useValue: activeRoute }
      ]
    })
      .compileComponents();
  }));
github spring-cloud / spring-cloud-dataflow-ui / ui / src / app / streams / stream-deploy / stream-deploy.component.spec.ts View on Github external
StreamDeployComponent,
        PagerComponent,
        DATAFLOW_PAGE,
        DATAFLOW_LIST,
        LoaderComponent,
        AppTypeComponent,
        StreamDeployFreeTextComponent,
        StreamDeployBuilderComponent,
        StreamDeployBuilderErrorsComponent,
        FocusDirective,
        TippyDirective
      ],
      imports: [
        FormsModule,
        ReactiveFormsModule,
        TooltipModule.forRoot(),
        ModalModule.forRoot(),
        BsDropdownModule.forRoot(),
        NgxPaginationModule,
        ClipboardModule,
        RouterTestingModule.withRoutes([{ path: 'streams/definitions', component: MockComponent }])
      ],
      providers: [
        { provide: StreamsService, useValue: streamsService },
        { provide: ActivatedRoute, useValue: activeRoute },
        { provide: SharedAboutService, useValue: sharedAboutService },
        { provide: NotificationService, useValue: notificationService },
        { provide: RoutingStateService, useValue: routingStateService },
        { provide: StreamDeployService, useValue: streamDeployService },
        { provide: LoggerService, useValue: loggerService },
        ClipboardService,
        BlockerService
github toni-moreno / resistor / src / app / app.module.ts View on Github external
SideMenuComponent,
    TableListComponent,
    App,
  ],
  imports: [

    CoreModule,
    CustomPipesModule,
    HttpModule,
    BrowserModule,
    FormsModule,
    ReactiveFormsModule,
    MultiselectDropdownModule,
    ProgressbarModule.forRoot(),
    AccordionModule.forRoot(),
    TooltipModule.forRoot(),
    ModalModule.forRoot(),
    PaginationModule.forRoot(),
    TabsModule.forRoot(),
    BsDropdownModule.forRoot(),
    TimepickerModule.forRoot(),
    Ng2TableModule,
    RouterModule.forRoot(AppRoutes)
  ],
  providers: [
    WindowRef,
    ExportServiceCfg,
    ValidationService,
    BlockUIService
  ],
  entryComponents: [
      BlockUIComponent,
github marklogic / marklogic-data-hub / quick-start / src / main / ui / app / app.module.ts View on Github external
JobOutputComponent,
    JobExportDialogComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    HttpModule,
    MdlModule,
    MdlPopoverModule,
    MdlSelectModule,
    GridManiaModule,
    RouterModule.forRoot(ROUTES, { useHash: true }),
    DatePipeModule,
    BsDropdownModule.forRoot(),
    TooltipModule.forRoot(),
    ThemeModule,
    ManageFlowsModule,
    EditFlowModule,
    MatchingModule
  ],
  providers: [
    AUTH_PROVIDERS,
    DeployService,
    EntitiesService,
    InstallService,
    JobService,
    JobListenerService,
    MapService,
    ManageFlowsService,
    ProjectService,
    SettingsService,