當前位置: 首頁>>代碼示例>>TypeScript>>正文


TypeScript TabsModule.forRoot方法代碼示例

本文整理匯總了TypeScript中ngx-bootstrap.TabsModule.forRoot方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript TabsModule.forRoot方法的具體用法?TypeScript TabsModule.forRoot怎麽用?TypeScript TabsModule.forRoot使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在ngx-bootstrap.TabsModule的用法示例。


在下文中一共展示了TabsModule.forRoot方法的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。

示例1: async

 async(() => {
   TestBed.configureTestingModule({
     imports: [
       CoreModule.forRoot(),
       ApiModule.forRoot(),
       CommonModule,
       FormsModule,
       RouterTestingModule.withRoutes([]),
       ConnectionsModule,
       ModalModule.forRoot(),
       TabsModule.forRoot(),
       PopoverModule.forRoot(),
       CollapseModule.forRoot(),
       SyndesisCommonModule.forRoot(),
       IntegrationSupportModule,
       CollapseModule
     ],
     declarations: [FlowViewComponent, FlowViewStepComponent],
     providers: [
       CurrentFlowService,
       FlowPageService,
       IntegrationStore,
       IntegrationService,
       EventsService,
       StepStore
     ]
   }).compileComponents();
 })
開發者ID:gnodet,項目名稱:syndesis,代碼行數:28,代碼來源:flow-view.component.spec.ts

示例2: describe

describe('MirroringComponent', () => {
  let component: MirroringComponent;
  let fixture: ComponentFixture<MirroringComponent>;

  configureTestBed({
    declarations: [MirroringComponent, MirrorHealthColorPipe],
    imports: [
      SharedModule,
      BsDropdownModule.forRoot(),
      TabsModule.forRoot(),
      ProgressbarModule.forRoot(),
      HttpClientTestingModule
    ]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(MirroringComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
開發者ID:ShiqiCooperation,項目名稱:ceph,代碼行數:25,代碼來源:mirroring.component.spec.ts

示例3: describe

describe('RgwBucketListComponent', () => {
  let component: RgwBucketListComponent;
  let fixture: ComponentFixture<RgwBucketListComponent>;

  configureTestBed({
    declarations: [RgwBucketListComponent, RgwBucketDetailsComponent],
    imports: [
      RouterTestingModule,
      ModalModule.forRoot(),
      SharedModule,
      TabsModule.forRoot(),
      HttpClientTestingModule
    ],
    providers: [RgwBucketService]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(RgwBucketListComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
開發者ID:fghaas,項目名稱:ceph,代碼行數:26,代碼來源:rgw-bucket-list.component.spec.ts

示例4: describe

describe('CephfsDetailComponent', () => {
  let component: CephfsDetailComponent;
  let fixture: ComponentFixture<CephfsDetailComponent>;

  configureTestBed({
    imports: [
      SharedModule,
      ChartsModule,
      RouterTestingModule,
      BsDropdownModule.forRoot(),
      ProgressbarModule.forRoot(),
      TabsModule.forRoot(),
      HttpClientTestingModule
    ],
    declarations: [CephfsDetailComponent, CephfsChartStubComponent, CephfsClientsStubComponent],
    providers: [CephfsService]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(CephfsDetailComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
開發者ID:noahdesu,項目名稱:ceph,代碼行數:28,代碼來源:cephfs-detail.component.spec.ts

示例5: describe

describe('RbdListComponent', () => {
  let component: RbdListComponent;
  let fixture: ComponentFixture<RbdListComponent>;

  configureTestBed({
    imports: [
      SharedModule,
      BsDropdownModule.forRoot(),
      TabsModule.forRoot(),
      ModalModule.forRoot(),
      TooltipModule.forRoot(),
      ToastModule.forRoot(),
      AlertModule.forRoot(),
      ComponentsModule,
      RouterTestingModule,
      HttpClientTestingModule
    ],
    declarations: [RbdListComponent, RbdDetailsComponent, RbdSnapshotListComponent]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(RbdListComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
開發者ID:noahdesu,項目名稱:ceph,代碼行數:30,代碼來源:rbd-list.component.spec.ts

示例6: describe

describe('OsdDetailsComponent', () => {
  let component: OsdDetailsComponent;
  let fixture: ComponentFixture<OsdDetailsComponent>;

  configureTestBed({
    imports: [
      HttpClientModule,
      TabsModule.forRoot(),
      PerformanceCounterModule,
      DataTableModule,
      SharedModule
    ],
    declarations: [OsdDetailsComponent, OsdPerformanceHistogramComponent]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(OsdDetailsComponent);
    component = fixture.componentInstance;

    component.selection = new CdTableSelection();

    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
開發者ID:ShiqiCooperation,項目名稱:ceph,代碼行數:28,代碼來源:osd-details.component.spec.ts

示例7: beforeEach

 beforeEach(async(() => {
     TestBed.configureTestingModule({
         imports: [
             CommonModule,
             HttpModule,
             FormsModule,
             ModalModule,
             // StackLevelModule,
             // ComponentLevelModule,
             FeedbackModule,
             PipelineInsightsModule,
             AccordionModule.forRoot(),
             TabsModule.forRoot(),
             ...revampImports
         ],
         declarations: [
             StackDetailsComponent
         ],
         providers: [
             Broadcaster,
             ApiLocatorService,
             witApiUrlProvider,
             authApiUrlProvider,
             ssoApiUrlProvider,
             realmProvider,
             {
                 provide: AuthenticationService, useClass: MockAuthenticationService
             },
             Contexts
         ]
     }).compileComponents();
 }));
開發者ID:,項目名稱:,代碼行數:32,代碼來源:

示例8: beforeEach

 beforeEach(async(() => {
   TestBed.configureTestingModule({
     imports: [
       ActionModule,
       CardModule,
       EmptyStateModule,
       FilterModule,
       ListModule,
       NotificationModule,
       SortModule,
       TableModule,
       WizardModule,
       HttpModule,
       TabsModule.forRoot()
     ],
     declarations: [
       EditorViewsComponent,
       MessageLogComponent,
       ViewPreviewComponent
     ],
     providers: [
       { provide: AppSettingsService, useClass: MockAppSettingsService },
       { provide: DataserviceService, useClass: MockDataserviceService },
       LoggerService,
       NotifierService,
       SelectionService,
       { provide: VdbService, useClass: MockVdbService },
       ViewEditorService
     ]
   })
   .compileComponents().then(() => {
     // nothing to do
   });
 }));
開發者ID:tejones,項目名稱:beetle-studio,代碼行數:34,代碼來源:editor-views.component.spec.ts

示例9: beforeEach

 beforeEach(async(() => {
   TestBed.configureTestingModule({
     declarations: [ RbdDetailsComponent, RbdSnapshotListComponent ],
     imports: [ SharedModule, TabsModule.forRoot(), TooltipModule.forRoot(), ]
   })
   .compileComponents();
 }));
開發者ID:ukernel,項目名稱:ceph,代碼行數:7,代碼來源:rbd-details.component.spec.ts

示例10: beforeEach

 beforeEach(async(() => {
   TestBed.configureTestingModule({
     imports: [
       SharedModule,
       ToastModule.forRoot(),
       TabsModule.forRoot(),
       RouterTestingModule,
       HttpClientTestingModule
     ],
     declarations: [RoleDetailsComponent]
   }).compileComponents();
 }));
開發者ID:Yan-waller,項目名稱:ceph,代碼行數:12,代碼來源:role-details.component.spec.ts


注:本文中的ngx-bootstrap.TabsModule.forRoot方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。