How to use the angular2-toaster.ToasterModule function in angular2-toaster

To help you get started, we’ve selected a few angular2-toaster 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 forCrowd / WealthFramework / ng2Client / app / app.module.js View on Github external
var resource_pool_service_1 = require("./services/resource-pool-service");
var AppModule = (function () {
    function AppModule() {
    }
    return AppModule;
}());
AppModule = __decorate([
    core_1.NgModule({
        imports: [
            // Angular & External
            platform_browser_1.BrowserModule,
            forms_1.FormsModule,
            http_1.HttpModule,
            breeze_bridge_angular2_1.BreezeBridgeAngular2Module,
            angular2_moment_1.MomentModule,
            angular2_toaster_1.ToasterModule,
            // Modules
            app_routing_module_1.AppRoutingModule,
            custom_error_handler_module_1.CustomErrorHandlerModule,
            custom_http_module_1.CustomHttpModule,
            ng_chart_module_1.NgChartModule
        ],
        declarations: [
            // App
            app_component_1.AppComponent,
            // Components - Account
            account_edit_component_1.AccountEditComponent,
            account_overview_component_1.AccountOverviewComponent,
            add_password_component_1.AddPasswordComponent,
            change_email_component_1.ChangeEmailComponent,
            change_password_component_1.ChangePasswordComponent,
            change_username_component_1.ChangeUserNameComponent,
github eosrio / simpleos / src / app / app.module.js View on Github external
ng_lottie_1.LottieAnimationViewModule.forRoot(),
                material_1.MatAutocompleteModule,
                material_1.MatCheckboxModule,
                material_1.MatFormFieldModule,
                material_1.MatInputModule,
                material_1.MatRadioModule,
                material_1.MatSelectModule,
                material_1.MatSliderModule,
                material_1.MatProgressBarModule,
                material_1.MatTabsModule,
                material_1.MatButtonToggleModule,
                forms_1.ReactiveFormsModule,
                table_1.TableModule,
                angular2_text_mask_1.TextMaskModule,
                ngx_echarts_1.NgxEchartsModule,
                angular2_toaster_1.ToasterModule.forRoot(),
                primeng_1.TooltipModule,
                app_routing_module_1.AppRoutingModule,
                dynamic_form_builder_module_1.DynamicFormBuilderModule,
                ngx_json_viewer_1.NgxJsonViewerModule,
                fusejs_module_1.FuseJsModule,
                ngx_order_pipe_1.OrderModule,
                ngx_pagination_1.NgxPaginationModule
            ],
            providers: [
                eosjs_service_1.EOSJSService,
                accounts_service_1.AccountsService,
                network_service_1.NetworkService,
                crypto_service_1.CryptoService,
                ram_service_1.RamService,
                // LedgerHWService,
                connect_service_1.ConnectService,