How to use @sweetalert2/ngx-sweetalert2 - 5 common examples

To help you get started, we’ve selected a few @sweetalert2/ngx-sweetalert2 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 Chumbok / ui-kit / src / app / app.module.ts View on Github external
MatAutocompleteModule,
    MatBadgeModule,
    MatBottomSheetModule,
    MatButtonModule,
    MatButtonToggleModule,
    MatCardModule,
    MatCheckboxModule,
    MatChipsModule,
    NgxPaginationModule,
    MatDatepickerModule,
    MatDialogModule,
    MatDividerModule,
    Ng2SearchPipeModule,
    MatExpansionModule,
    MatGridListModule,
    SweetAlert2Module.forRoot(),
    MatIconModule,
    MatInputModule,
    MatListModule,
    MatMenuModule,
    MatNativeDateModule,
    MatPaginatorModule,
    MatProgressBarModule,
    MatProgressSpinnerModule,
    MatRadioModule,
    MatRippleModule,
    MatSelectModule,
    MatSidenavModule,
    MatSliderModule,
    MatSlideToggleModule,
    MatSnackBarModule,
    MatSortModule,
github sweetalert2 / ngx-sweetalert2 / projects / ngx-sweetalert2-demo / src / app / app.module.ts View on Github external
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        SweetAlert2Module.forRoot(),
        AppRoutingModule
    ],
    providers: [],
    bootstrap: [AppComponent]
})
export class AppModule {
}
github viadee / sonarQuest / sonarQuest-frontend / src / app / app.module.ts View on Github external
MatButtonModule,
    MatProgressSpinnerModule,
    MatSelectModule,
    FormsModule,
    FlexLayoutModule,
    ReactiveFormsModule,
    MatTabsModule,
    CovalentDataTableModule,
    CovalentSearchModule,
    CovalentPagingModule,
    MatButtonModule,
    MatDialogModule,
    MatInputModule,
    MatCheckboxModule,
    MatSnackBarModule,
    SweetAlert2Module.forRoot(),
    SvgIconsModule
  ],
  providers: [TdMediaService,
    WorldService,
    AdventureService,
    QuestService,
    TaskService,
    StandardTaskService,
    SpecialTaskService,
    ParticipationService,
    ArtefactService,
    SkillService,
    SonarQubeService,
    UiDesignService,
    AuthenticationService,
    LocalStorageService,
github sweetalert2 / ngx-sweetalert2 / projects / ngx-sweetalert2-demo / src / app / app.component.spec.ts View on Github external
beforeEach(async(() => {
        TestBed.configureTestingModule({
            declarations: [
                AppComponent
            ],
            imports: [
                RouterModule.forRoot([]),
                SweetAlert2Module.forRoot()
            ]
        });

        TestBed.compileComponents();
    }));
github sweetalert2 / ngx-sweetalert2 / projects / ngx-sweetalert2-demo / src / app / nested / nested.module.ts View on Github external
import { NgModule } from '@angular/core';
import { SweetAlert2Module } from '@sweetalert2/ngx-sweetalert2';
import { NestedRoutingModule } from './nested-routing.module';
import { NestedComponent } from './nested.component';

export function provideSwal() {
    return import('sweetalert2').then(({ default: swal }) => swal.mixin({
        backdrop: false
    }));
}

@NgModule({
    imports: [
        SweetAlert2Module.forChild({ provideSwal }),
        NestedRoutingModule
    ],
    declarations: [
        NestedComponent
    ]
})
export class NestedModule {
}

@sweetalert2/ngx-sweetalert2

MIT
Latest version published 5 months ago

Package Health Score

76 / 100
Full package analysis

Similar packages