• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

TypeScript ngx-bootstrap.BsDropdownModule类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了TypeScript中ngx-bootstrap.BsDropdownModule的典型用法代码示例。如果您正苦于以下问题:TypeScript BsDropdownModule类的具体用法?TypeScript BsDropdownModule怎么用?TypeScript BsDropdownModule使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了BsDropdownModule类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的TypeScript代码示例。

示例1: beforeEach

 beforeEach(async(() => {
   TestBed.configureTestingModule({
     imports: [RouterTestingModule, BsDropdownModule.forRoot(), SharedModule],
     declarations: [CephfsClientsComponent],
     providers: [{ provide: CephfsService, useValue: fakeFilesystemService }]
   }).compileComponents();
 }));
开发者ID:hzhang-wx,项目名称:ceph,代码行数:7,代码来源:cephfs-clients.component.spec.ts


示例2: beforeEach

 beforeEach(async(() => {
   jobsService = new MockJobsService();
   activeRoute = new MockActivatedRoute();
   TestBed.configureTestingModule({
     declarations: [
       JobExecutionDetailsComponent,
       JobExecutionStatusComponent,
       DataflowDateTimePipe,
       DataflowDurationPipe,
       LoaderComponent,
       PagerComponent,
       DATAFLOW_PAGE,
       DATAFLOW_LIST
     ],
     imports: [
       FormsModule,
       NgxPaginationModule,
       BsDropdownModule.forRoot(),
       TooltipModule.forRoot(),
       RouterTestingModule.withRoutes([])
     ],
     providers: [
       { provide: JobsService, useValue: jobsService },
       { provide: ActivatedRoute, useValue: activeRoute },
       { provide: RoutingStateService, useValue: routingStateService },
       { provide: NotificationService, useValue: notificationService },
       { provide: LoggerService, useValue: loggerService }
     ]
   })
     .compileComponents();
 }));
开发者ID:BoykoAlex,项目名称:spring-cloud-dataflow-ui,代码行数:31,代码来源:job-execution-details.component.spec.ts


示例3: beforeEach

 beforeEach(async(() => {
   activeRoute = new MockActivatedRoute();
   TestBed.configureTestingModule({
     declarations: [
       TaskLaunchComponent,
       DataflowDateTimePipe,
       LoaderComponent,
       DATAFLOW_PAGE,
       DATAFLOW_LIST,
       KvRichTextComponent,
       PagerComponent
     ],
     imports: [
       FormsModule,
       ReactiveFormsModule,
       NgxPaginationModule,
       ClipboardModule,
       BsDropdownModule.forRoot(),
       TooltipModule.forRoot(),
       RouterTestingModule.withRoutes([])
     ],
     providers: [
       { provide: TasksService, useValue: tasksService },
       { provide: ActivatedRoute, useValue: activeRoute },
       { provide: RoutingStateService, useValue: routingStateService },
       { provide: NotificationService, useValue: notificationService },
       ClipboardService
     ]
   })
     .compileComponents();
 }));
开发者ID:BoykoAlex,项目名称:spring-cloud-dataflow-ui,代码行数:31,代码来源:task-launch.component.spec.ts


示例4: beforeEach

  beforeEach(async(() => {
    activeRoute = new MockActivatedRoute();

    TestBed.configureTestingModule({
      declarations: [
        RolesDirective,
        TruncatePipe,
        LoaderComponent,
        TaskScheduleSummaryComponent,
        StreamDslComponent
      ],
      imports: [
        NgxPaginationModule,
        ModalModule.forRoot(),
        PopoverModule.forRoot(),
        BsDropdownModule.forRoot(),
        BsDatepickerModule.forRoot(),
        FormsModule,
        FloModule,
        ReactiveFormsModule,
        RouterTestingModule.withRoutes([])
      ],
      providers: [
        { provide: SharedAboutService, useValue: aboutService },
        { provide: AuthService, useValue: authService },
        { provide: ActivatedRoute, useValue: activeRoute },
        { provide: TasksService, useValue: tasksService },
        { provide: LoggerService, useValue: loggerService },
        { provide: NotificationService, useValue: notificationService }
      ]
    })
      .compileComponents();
  }));
开发者ID:BoykoAlex,项目名称:spring-cloud-dataflow-ui,代码行数:33,代码来源:task-schedule-summary.component.spec.ts


示例5: describe

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

  const fakeAuthStorageService = {
    getPermissions: () => {
      return new Permissions({ hosts: ['read', 'update', 'create', 'delete'] });
    }
  };

  configureTestBed({
    imports: [
      SharedModule,
      HttpClientTestingModule,
      ComponentsModule,
      BsDropdownModule.forRoot(),
      RouterTestingModule
    ],
    providers: [{ provide: AuthStorageService, useValue: fakeAuthStorageService }],
    declarations: [HostsComponent]
  });

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

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
开发者ID:ShiqiCooperation,项目名称:ceph,代码行数:32,代码来源:hosts.component.spec.ts


示例6: beforeEach

 beforeEach(async(() => {
   TestBed.configureTestingModule({
     declarations: [
       AppsBulkImportPropertiesComponent,
       DATAFLOW_PAGE,
       DATAFLOW_LIST,
       FocusDirective,
       PagerComponent
     ],
     imports: [
       ModalModule.forRoot(),
       PopoverModule.forRoot(),
       ReactiveFormsModule,
       FormsModule,
       NgxPaginationModule,
       BsDropdownModule.forRoot(),
       TooltipModule.forRoot(),
       RouterTestingModule.withRoutes([])
     ],
     providers: [
       { provide: AuthService, useValue: authService },
       { provide: RoutingStateService, useValue: routingStateService },
       { provide: AppsService, useValue: appsService },
       { provide: SharedAboutService, useValue: sharedAboutService },
       { provide: BsModalRef, useValue: bsModalRef },
       { provide: NotificationService, useValue: notificationService },
       { provide: LoggerService, useValue: loggerService },
       BlockerService
     ]
   })
     .compileComponents();
 }));
开发者ID:BoykoAlex,项目名称:spring-cloud-dataflow-ui,代码行数:32,代码来源:apps-bulk-import-properties.component.spec.ts


示例7: describe

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

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

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

    component.selection = new CdTableSelection();

    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
开发者ID:dillaman,项目名称:ceph,代码行数:27,代码来源:host-details.component.spec.ts


示例8: 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


示例9: beforeEach

 beforeEach(async(() => {
   TestBed.configureTestingModule({
     declarations: [
       LogoComponent,
       NavigationSearchComponent,
       StreamStatusComponent,
       AppTypeComponent,
       TaskStatusComponent,
       RolesDirective
     ],
     imports: [
       CommonModule,
       FormsModule,
       ReactiveFormsModule,
       BrowserModule,
       RouterTestingModule.withRoutes([]),
       BrowserAnimationsModule,
       SharedModule,
       BsDropdownModule.forRoot(),
       ModalModule.forRoot()
     ],
     providers: [
       { provide: SharedAboutService, useValue: aboutService },
       { provide: AppsService, useValue: appsService },
       { provide: StreamsService, useValue: streamsService },
       { provide: TasksService, useValue: tasksService },
       { provide: AuthService, useValue: authService }
     ]
   }).compileComponents();
 }));
开发者ID:BoykoAlex,项目名称:spring-cloud-dataflow-ui,代码行数:30,代码来源:search.component.spec.ts


示例10: beforeEach

 beforeEach(async(() => {
   activeRoute = new MockActivatedRoute();
   TestBed.configureTestingModule({
     declarations: [
       RolesDirective,
       TaskExecutionComponent,
       DataflowDateTimePipe,
       DataflowDurationPipe,
       LoaderComponent,
       DATAFLOW_PAGE,
       DATAFLOW_LIST,
       PagerComponent
     ],
     imports: [
       FormsModule,
       ReactiveFormsModule,
       NgxPaginationModule,
       BsDropdownModule.forRoot(),
       TooltipModule.forRoot(),
       RouterTestingModule.withRoutes([])
     ],
     providers: [
       { provide: SharedAboutService, useValue: aboutService },
       { provide: AuthService, useValue: authService },
       { provide: TasksService, useValue: tasksService },
       { provide: RoutingStateService, useValue: routingStateService },
       { provide: ActivatedRoute, useValue: activeRoute },
       { provide: NotificationService, useValue: notificationService }
     ]
   })
     .compileComponents();
 }));
开发者ID:BoykoAlex,项目名称:spring-cloud-dataflow-ui,代码行数:32,代码来源:task-execution.component.spec.ts



注:本文中的ngx-bootstrap.BsDropdownModule类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
TypeScript ngx-bootstrap.BsModalRef类代码示例发布时间:2022-05-25
下一篇:
TypeScript ngx-bootstrap.AlertModule类代码示例发布时间:2022-05-25
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap