How to use the ngx-bootstrap.TabsModule.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 IBM / FfDL / dashboard / src / app / app.module.ts View on Github external
TrainingEMetricsComponent,
      // FadingCircleComponent,
      AnalyticsMainComponent,
      ProfileListComponent,
      ProfileShowComponent,
      Autofocus
    ],
    imports: [
      BrowserModule,
      FormsModule,
      ReactiveFormsModule,
      HttpClientModule,
      // Ng2BootstrapModule,
      ChartsModule,
      RouterModule.forRoot(ROUTES, { useHash: true }),
      TabsModule.forRoot(),
      AccordionModule.forRoot(),
      SimpleNotificationsModule.forRoot(),
      Ng2Webstorage,
      // NG2D3Module,
      BrowserAnimationsModule,
      // SpinnerModule,
      CookieModule.forRoot(),
    ],
    providers: [
      Title,
      AppService,
      AuthService,
      AuthGuard,
      DlaasService,
      EmitterService,
      CookieService,
github ceph / ceph / src / pybind / mgr / dashboard / frontend / src / app / core / auth / role-list / role-list.component.spec.ts View on Github external
describe('RoleListComponent', () => {
  let component: RoleListComponent;
  let fixture: ComponentFixture;

  configureTestBed({
    declarations: [RoleListComponent, RoleDetailsComponent, UserTabsComponent],
    imports: [
      SharedModule,
      ToastModule.forRoot(),
      TabsModule.forRoot(),
      RouterTestingModule,
      HttpClientTestingModule
    ]
  });

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

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
github eclipse / winery / org.eclipse.winery.frontends / app / tosca-management / src / app / instance / sharedComponents / propertiesDefinition / propertiesDefinition.module.ts View on Github external
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {BrowserModule} from '@angular/platform-browser';
import {TabsModule} from 'ngx-bootstrap';
import {SelectModule} from 'ng2-select';
import {WineryLoaderModule} from '../../../wineryLoader/wineryLoader.module';
import {WineryNamespaceSelectorModule} from '../../../wineryNamespaceSelector/wineryNamespaceSelector.module';
import {WineryDuplicateValidatorModule} from '../../../wineryValidators/wineryDuplicateValidator.module';
import {WineryModalModule} from '../../../wineryModalModule/winery.modal.module';
import {WineryTableModule} from '../../../wineryTableModule/wineryTable.module';
import {PropertiesDefinitionComponent} from './propertiesDefinition.component';

@NgModule({
    imports: [
        TabsModule.forRoot(),
        SelectModule,
        BrowserModule,
        FormsModule,
        WineryLoaderModule,
        CommonModule,
        WineryNamespaceSelectorModule,
        WineryModalModule,
        WineryTableModule,
        WineryDuplicateValidatorModule,
    ],
    exports: [],
    declarations: [
        PropertiesDefinitionComponent,
    ],
    providers: [],
})
github TryCatchLearn / DatingApp30 / DatingApp-SPA / src / app / app.module.ts View on Github external
MemberEditComponent,
    PhotoEditorComponent,
    TimeAgoPipe,
    MemberMessagesComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    HttpClientModule,
    FormsModule,
    ReactiveFormsModule,
    BsDropdownModule.forRoot(),
    BsDatepickerModule.forRoot(),
    ButtonsModule.forRoot(),
    PaginationModule.forRoot(),
    TabsModule.forRoot(),
    RouterModule.forRoot(appRoutes),
    NgxGalleryModule,
    FileUploadModule,
    JwtModule.forRoot({
      config: {
        tokenGetter,
        whitelistedDomains: ['localhost:5000'],
        blacklistedRoutes: ['localhost:5000/api/auth']
      }
    })
  ],
  providers: [
    ErrorInterceptorProvider,
    MemberDetailResolver,
    MemberListResolver,
    MemberEditResolver,
github kenken64 / book-catalogue-app / src / app / book / book.module.ts View on Github external
{
    path: 'book-upload',
    component: BookUploadComponent
  }

  
]);

@NgModule({
  imports: [
    CommonModule,
    SharedModule,
    booksRouting,
    ModalModule.forRoot(),
    BsDatepickerModule.forRoot(),
    TabsModule.forRoot(),
    AccordionModule.forRoot(),
    AlertModule.forRoot(),
    ButtonsModule.forRoot(),
    CarouselModule.forRoot(),
    CollapseModule.forRoot(),
    BsDropdownModule.forRoot(),
    PopoverModule.forRoot(),
    ProgressbarModule.forRoot(),
    BrowserAnimationsModule,
    PaginationModule.forRoot(),
    ReactiveFormsModule
  ],
  declarations: [BookSearchComponent, BookDetailsComponent, AddBookComponent, BookUploadComponent, BookListComponent]
})
export class BookModule { }
github eclipse / winery / org.eclipse.winery.repository.ui / src / app / instance / sharedComponents / visualAppearance / visualAppearance.module.ts View on Github external
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { CommonModule } from '@angular/common';
import { TabsModule } from 'ngx-bootstrap';
import { WineryLoaderModule } from '../../../wineryLoader/wineryLoader.module';
import { WineryModalModule } from '../../../wineryModalModule/winery.modal.module';
import { VisualAppearanceComponent } from './visualAppearance.component';
import { WineryUploaderModule } from '../../../wineryUploader/wineryUploader.module';

/**
 * An angular module for displaying the visualApperances for both the nodeTypes and the relationshipTypes
 * therefore an instance of {@link NodeTypesVisualsApiData} or {@link RelationshipTypesVisualsApiData} is loaded from the backend
 */
@NgModule({
    imports: [
        TabsModule.forRoot(),
        BrowserModule,
        FormsModule,
        WineryLoaderModule,
        CommonModule,
        WineryModalModule,
        WineryUploaderModule
    ],
    exports: [],
    declarations: [
        VisualAppearanceComponent,
    ]
})
export class VisualAppearanceModule {
}
github magic-software-lab / ngx-magic-table / demo / src / app / demo / demo.module.ts View on Github external
import { SortDemoComponent } from './sort-demo-section/sort-demo/sort-demo.component';
import { AlignDemoComponent } from './align-demo-section/align-demo/align-demo.component';
import { AlignDemoSectionComponent } from './align-demo-section/align-demo-section.component';
import { FormattingDemoSectionComponent } from './formatting-demo-section/formatting-demo-section.component';
import { FormattingDemoComponent } from './formatting-demo-section/formatting-demo/formatting-demo.component';
import { SimpleButtonDemoSectionComponent } from './simple-button-demo-section/simple-button-demo-section.component';
import { SimpleButtonDemoComponent } from './simple-button-demo-section/simple-button-demo/simple-button-demo.component';
import { ButtonGroupDemoSectionComponent } from './button-group-demo-section/button-group-demo-section.component';
import { ButtonGroupDemoComponent } from './button-group-demo-section/button-group-demo/button-group-demo.component';
import { DropdownDemoSectionComponent } from './dropdown-demo-section/dropdown-demo-section.component';
import { DropdownDemoComponent } from './dropdown-demo-section/dropdown-demo/dropdown-demo.component';

@NgModule({
  imports: [
    CommonModule,
    TabsModule.forRoot(),
    NgxMagicTableModule
  ],
  providers: [

  ],
  declarations: [
    DemoSectionComponent,
    DemoSectionSourceComponent,
    MainDemoComponent,
    MainDemoSectionComponent,
    SimpleDemoSectionComponent,
    SimpleDemoComponent,
    SortDemoSectionComponent,
    SortDemoComponent,
    AlignDemoComponent,
    AlignDemoSectionComponent,
github valor-software / ng2-handsontable / demo / src / demo.module.ts View on Github external
@NgModule({
  declarations: [
    DemoComponent,
    HandsontableSectionComponent,
    BasicDemoComponent,
    SheetDemoComponent,
    PersonalDemoComponent,
    FinanceDemoComponent,
    ScienceDemoComponent,
    SportDemoComponent,
    AdvancedDemoComponent
  ],
  imports: [
    BrowserModule,
    HotTableModule,
    TabsModule.forRoot()
  ],
  providers: [],
  bootstrap: [ DemoComponent ]
})
export class DemoModule {
}
github dockstore / dockstore-ui2 / src / app / container / tool-file-editor / tool-file-editor.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [
        ToolFileEditorComponent,
        CodeEditorListComponent,
        CodeEditorComponent,
        PublicFileDownloadPipe,
        PrivateFileDownloadPipe,
        PrivateFilePathPipe
      ],
      imports: [
        TabsModule.forRoot(),
        MatButtonModule,
        MatTabsModule,
        MatToolbarModule,
        MatIconModule,
        MatSnackBarModule,
        MatInputModule,
        MatFormFieldModule,
        MatSelectModule,
        MatTooltipModule,
        MatCardModule,
        BrowserAnimationsModule,
        ClipboardModule
      ],
      providers: [
        { provide: HostedService, useClass: HostedStubService },
        { provide: ContainerService, useClass: ContainerStubService },
github dockstore / dockstore-ui2 / src / app / workflow / workflow-file-editor / workflow-file-editor.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [
        WorkflowFileEditorComponent,
        CodeEditorListComponent,
        CodeEditorComponent,
        PublicFileDownloadPipe,
        PrivateFileDownloadPipe,
        PrivateFilePathPipe
      ],
      imports: [
        TabsModule.forRoot(),
        MatButtonModule,
        MatTabsModule,
        MatToolbarModule,
        MatIconModule,
        MatInputModule,
        MatFormFieldModule,
        MatTooltipModule,
        ClipboardModule,
        MatSnackBarModule,
        MatCardModule
      ],
      providers: [
        { provide: HostedService, useClass: HostedStubService },
        { provide: WorkflowService, useClass: WorkflowStubService },
        { provide: WorkflowsService, useClass: WorkflowsStubService },
        { provide: RefreshService, useClass: RefreshStubService },