How to use the @nebular/theme.NbToastrModule.forRoot function in @nebular/theme

To help you get started, we’ve selected a few @nebular/theme 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 garrylachman / ElectroCRUD / src / app / app.module.ts View on Github external
NbLayoutModule,
    NbEvaIconsModule,
    NbSidebarModule.forRoot(), // NbSidebarModule.forRoot(), //if this is your app.module
    NbButtonModule,
    NbActionsModule,
    NbSearchModule,
    NbIconModule,
    NbMenuModule.forRoot(),
    NbTooltipModule,
    NbCardModule,
    NbInputModule,
    NbCheckboxModule,
    NbSelectModule,
    NbDialogModule.forRoot(),
    NgxMaskModule.forRoot(),
    NbToastrModule.forRoot(),
    ReactiveFormsModule,
    NbAlertModule,
    FormlyModule.forRoot(),
    NbDatepickerModule.forRoot(),
    FormlyBootstrapModule,
    Ng2FittextModule,
    NgBootstrapFormValidationModule.forRoot(),
  ],
  providers: [
    ElectronService, 
    NbMenuService, 
    NbDialogService, 
    AccountsService, 
    NbDatepickerDirective,
    {
      provide: ErrorHandler,
github akveo / ngx-admin / src / app / app.module.ts View on Github external
@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    HttpClientModule,
    AppRoutingModule,

    ThemeModule.forRoot(),

    NbSidebarModule.forRoot(),
    NbMenuModule.forRoot(),
    NbDatepickerModule.forRoot(),
    NbDialogModule.forRoot(),
    NbWindowModule.forRoot(),
    NbToastrModule.forRoot(),
    NbChatModule.forRoot({
      messageGoogleMapKey: 'AIzaSyA_wNuCzia92MAmdLRzmqitRGvCF7wCZPY',
    }),
    CoreModule.forRoot(),
  ],
  bootstrap: [AppComponent],
  providers: [
    { provide: APP_BASE_HREF, useValue: '/' },
  ],
})
export class AppModule {
}
github akveo / nebular / assets / examples / toastr / toastr.module.ts View on Github external
@NgModule({
  declarations: [
    ToastrDestroyByClickComponent,
    ToastrDurationComponent,
    ToastrIconComponent,
    ToastrPositionsComponent,
    ToastrPreventDuplicatesComponent,
    ToastrPreventDuplicatesBehaviourComponent,
    ToastrShowcaseComponent,
    ToastrStatusesComponent,
    ToastrLimitComponent,
  ],
  imports: [
    CommonModule,
    FormsModule,
    NbToastrModule.forRoot(),
    NbButtonModule,
    NbRadioModule,
    NbCardModule,
    ToastrRoutingModule,
  ],
})
export class ToastrModule {}
github akveo / nebular / src / playground / with-layout / toastr / toastr.module.ts View on Github external
import { ToastrPreventDuplicatesComponent } from './toastr-prevent-duplicates.component';
import { ToastrShowcaseComponent } from './toastr-showcase.component';
import { ToastrStatusesComponent } from './toastr-statuses.component';

@NgModule({
  declarations: [
    ToastrDestroyByClickComponent,
    ToastrDurationComponent,
    ToastrIconComponent,
    ToastrPositionsComponent,
    ToastrPreventDuplicatesComponent,
    ToastrShowcaseComponent,
    ToastrStatusesComponent,
  ],
  imports: [
    NbToastrModule.forRoot(),
    NbButtonModule,
    ToastrRoutingModule,
  ],
})
export class ToastrModule {}