How to use the ngx-bootstrap.PaginationModule.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 locdb / locdb-frend / src / app / app.module.ts View on Github external
//   data: { title: 'Heroes List' }
  // },

  { path: '',
    redirectTo: '/frontpage',
    pathMatch: 'full'
   },
  { path: '**', redirectTo: '/frontpage' }
];

// const bhref = environment.production ? '/extrapolate/' : '/extrapolate-dev/'

@NgModule({
  imports: [
    TypeaheadModule.forRoot(),
    PaginationModule.forRoot(),
    AccordionModule.forRoot(),
    BsDropdownModule.forRoot(),
    ModalModule.forRoot(),
    CollapseModule.forRoot(),
    HotkeyModule.forRoot(),
    ButtonsModule.forRoot(),
    BrowserModule,
    FormsModule,
    HttpModule,
    HttpClientModule,
    ReactiveFormsModule,
    PopoverModule,
    PdfViewerModule,
    RouterModule.forRoot(
      appRoutes,
      // { enableTracing: true } // <-- debugging purposes only
github magic-software-lab / ngx-magic-table / demo / src / app / demo / demo-module-example / demo-module-example.module.ts View on Github external
import { NgModule } from '@angular/core';

// Imports
import { BsDropdownModule, PaginationModule } from 'ngx-bootstrap';
import { NgxMagicTableModule } from '@magic-software/ngx-magic-table';

@NgModule({
  declarations: [
    
  ],
  imports: [
    BrowserModule,
    
    // Dependencies
    BsDropdownModule.forRoot(),
    PaginationModule.forRoot(),
    
    // Module
    NgxMagicTableModule
  ],
  providers: [],
  bootstrap: []
})
export class AppModule { }
github springstack / bootstack / bootstack-web / src / main / angular / src / app / pages / system / settings / interface / system.settings.interface.module.ts View on Github external
const SYSTEM_SETTINGS_INTERFACE_ROUTES: Routes = [
    {path: '', component: SystemSettingsInterfaceComponent}
];

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        ReactiveFormsModule,
        CustomFormsModule,
        BusyModule,
        Select2Module,
        TranslateModule,
        TooltipModule.forRoot(),
        ToastyModule.forRoot(),
        PaginationModule.forRoot(),
        ModalModule.forRoot(),
        RouterModule.forChild(SYSTEM_SETTINGS_INTERFACE_ROUTES)
    ],
    exports: [],
    declarations: [
        SystemSettingsInterfaceComponent
    ],
    providers: [
        SystemSettingsInterfaceService,
        SystemSettingsMethodService
    ],
})
export class SystemSettingsInterfaceModule {
}
github magic-software-lab / ngx-magic-table / demo / src / app / app.module.ts View on Github external
@NgModule({
  declarations: [
    AppComponent,
    HeaderComponent,
    LandingPageComponent,
    GetStartedComponent,
    DemosPageComponent,
    FooterComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    AppRoutingModule,
    BsDropdownModule.forRoot(),
    PaginationModule.forRoot(),
    CollapseModule.forRoot(),
    InfiniteScrollModule,
    Ng2PageScrollModule.forRoot(),
    SharedModule,
    DemoModule
  ],
  providers: [ ],
  bootstrap: [AppComponent]
})
export class AppModule { }
github springstack / bootstack / bootstack-web / src / main / angular / src / app / pages / icon / icon.module.ts View on Github external
const LOGS_ROUTES: Routes = [
    {path: '', component: IconComponent}
];

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        ReactiveFormsModule,
        CustomFormsModule,
        BusyModule,
        TranslateModule,
        TooltipModule.forRoot(),
        ToastyModule.forRoot(),
        PaginationModule.forRoot(),
        ModalModule.forRoot(),
        RouterModule.forChild(LOGS_ROUTES)
    ],
    exports: [],
    declarations: [
        IconComponent
    ],
    providers: [
        IconService,
        IconTypeService,
        IconUsageService
    ],
})
export class IconModule {
}
github MCourser / Base / web / src / app / app.module.ts View on Github external
NbThemeModule.forRoot({name: 'corporate'}),
    NbLayoutModule,
    NbSidebarModule,
    NbMenuModule,
    ToasterModule,
    NbActionsModule,
    NbAlertModule,
    NbCardModule,
    NbUserModule,
    NbPopoverModule,
    NbSearchModule,
    NbContextMenuModule,
    NbCheckboxModule,
    FileUploadModule,
    NbProgressBarModule,
    PaginationModule.forRoot(),
    TooltipModule.forRoot(),
    ProgressbarModule.forRoot(),
    ImageViewerModule.forRoot(),
    UiSwitchModule
  ],
  providers: [
    NbSidebarService,
    NbMenuService,
    NbMenuInternalService,
    UserService,
    RoleService,
    PermissionService,
    ToasterService,
    NbMediaBreakpointsService,
    StaticResourceService,
    MusicPlayerService
github toni-moreno / resistor / src / app / app.module.ts View on Github external
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,
      KapacitorComponent,
      KapacitorTasksComponent,
github ktanakaj / typeorm-example / typeorm-example-web / src / app / app.module.ts View on Github external
],
	imports: [
		BrowserModule,
		FormsModule,
		HttpClientModule,
		RouterModule.forRoot(appRoutes),
		TranslateModule.forRoot({
			loader: {
				provide: TranslateLoader,
				useFactory: (http: HttpClient) => new TranslateHttpLoader(http, './assets/i18n/'),
				deps: [HttpClient]
			}
		}),
		CollapseModule.forRoot(),
		ModalModule.forRoot(),
		PaginationModule.forRoot(),
	],
	providers: [
		{ provide: LOCALE_ID, useValue: browserHelper.getLocale() },
		{ provide: ErrorHandler, useClass: DefaultErrorHandler },
	],
	bootstrap: [AppComponent]
})
export class AppModule { }
github springstack / bootstack / bootstack-web / src / main / angular / src / app / pages / user / user.module.ts View on Github external
{path: '', component: UserComponent}
];

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        ReactiveFormsModule,
        CustomFormsModule,
        BusyModule,
        TranslateModule,
        Select2Module,
        PopoverModule.forRoot(),
        TooltipModule.forRoot(),
        ToastyModule.forRoot(),
        PaginationModule.forRoot(),
        ModalModule.forRoot(),
        RouterModule.forChild(USER_ROUTES)
    ],
    exports: [],
    declarations: [
        UserComponent
    ],
    providers: [
        UserService,
        SystemRoleService
    ],
})
export class UserModule {
}
github springstack / bootstack / bootstack-web / src / main / angular / src / app / pages / system / menu / system.menu.type.module.ts View on Github external
const SYSTEM_MENU_TYPE_ROUTES: Routes = [
    {path: '', component: SystemMenuTypeComponent}
];

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        ReactiveFormsModule,
        CustomFormsModule,
        BusyModule,
        TranslateModule,
        TooltipModule.forRoot(),
        ToastyModule.forRoot(),
        PaginationModule.forRoot(),
        ModalModule.forRoot(),
        RouterModule.forChild(SYSTEM_MENU_TYPE_ROUTES)
    ],
    exports: [],
    declarations: [
        SystemMenuTypeComponent
    ],
    providers: [
        SystemMenuTypeService
    ],
})
export class SystemMenuTypeModule {
}