当前位置: 首页>>代码示例>>TypeScript>>正文


TypeScript browser.errorHandler函数代码示例

本文整理汇总了TypeScript中@angular/platform-browser/src/browser.errorHandler函数的典型用法代码示例。如果您正苦于以下问题:TypeScript errorHandler函数的具体用法?TypeScript errorHandler怎么用?TypeScript errorHandler使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了errorHandler函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。

示例1: createInternal

 createInternal():import1.AppModule {
   this._CommonModule_0 = new import2.CommonModule();
   this._ApplicationModule_1 = new import3.ApplicationModule();
   this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule,(null as any)));
   this._HttpModule_3 = new import5.HttpModule();
   this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
   this._FormsModule_5 = new import7.FormsModule();
   this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
   this._IonicModule_7 = new import8.IonicModule();
   this._AppModule_8 = new import1.AppModule();
   this._ErrorHandler_11 = import4.errorHandler();
   this._ConfigToken_12 = (null as any);
   this._UrlToken_13 = import8.provideLocationHref();
   this._QueryParams_14 = import68.setupQueryParams(this._UrlToken_13);
   this._PlatformConfigToken_15 = import69.providePlatformConfigs();
   this._UserAgentToken_16 = import8.provideUserAgent();
   this._NavigatorPlatformToken_17 = import8.provideNavigatorPlatform();
   this._DocumentDirToken_18 = import8.provideDocumentDirection();
   this._DocLangToken_19 = import8.provideDocumentLang();
   this._Platform_20 = import70.setupPlatform(this._PlatformConfigToken_15,this._QueryParams_14,this._UserAgentToken_16,this._NavigatorPlatformToken_17,this._DocumentDirToken_18,this._DocLangToken_19,this.parent.get(import61.NgZone));
   this._Config_21 = import71.setupConfig(this._ConfigToken_12,this._QueryParams_14,this._Platform_20);
   this._App_22 = new import10.App(this._Config_21,this._Platform_20);
   this._APP_INITIALIZER_23 = [
     import72.registerModeConfigs(this._Config_21),
     import73.registerTransitions(this._Config_21),
     import30.setupProvideEvents(this._Platform_20),
     import41.setupTapClick(this._Config_21,this._App_22,this.parent.get(import61.NgZone))
   ]
   ;
   this._ApplicationInitStatus_24 = new import11.ApplicationInitStatus(this._APP_INITIALIZER_23);
   this._Testability_25 = new import12.Testability(this.parent.get(import61.NgZone));
   this._ApplicationRef__26 = new import13.ApplicationRef_(this.parent.get(import61.NgZone),this.parent.get(import74.Console),this,this._ErrorHandler_11,this,this._ApplicationInitStatus_24,this.parent.get(import12.TestabilityRegistry,(null as any)),this._Testability_25);
   return this._AppModule_8;
 }
开发者ID:ion-book,项目名称:demo103,代码行数:34,代码来源:app.module.ngfactory.ts

示例2: createInternal

 createInternal():import1.BrowserModule {
   this._CommonModule_0 = new import2.CommonModule();
   this._ApplicationModule_1 = new import3.ApplicationModule();
   this._BrowserModule_2 = new import1.BrowserModule(this.parent.get(import1.BrowserModule,(null as any)));
   this._ErrorHandler_5 = import1.errorHandler();
   this._ApplicationInitStatus_6 = new import5.ApplicationInitStatus(this.parent.get(import5.APP_INITIALIZER,(null as any)));
   this._Testability_7 = new import6.Testability(this.parent.get(import20.NgZone));
   this._ApplicationRef__8 = new import7.ApplicationRef_(this.parent.get(import20.NgZone),this.parent.get(import22.Console),this,this._ErrorHandler_5,this,this._ApplicationInitStatus_6,this.parent.get(import6.TestabilityRegistry,(null as any)),this._Testability_7);
   return this._BrowserModule_2;
 }
开发者ID:ArtwareSoft,项目名称:jbart5-ng,代码行数:10,代码来源:browser.ngfactory.ts

示例3: createInternal

 createInternal():import1.GridModule {
   this._CommonModule_0 = new import2.CommonModule();
   this._ApplicationModule_1 = new import3.ApplicationModule();
   this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule,(null as any)));
   this._InternalFormsSharedModule_3 = new import5.InternalFormsSharedModule();
   this._FormsModule_4 = new import6.FormsModule();
   this._GridModule_5 = new import1.GridModule();
   this._ErrorHandler_8 = import4.errorHandler();
   this._ApplicationInitStatus_9 = new import8.ApplicationInitStatus(this.parent.get(import8.APP_INITIALIZER,(null as any)));
   this._Testability_10 = new import9.Testability(this.parent.get(import24.NgZone));
   this._ApplicationRef__11 = new import10.ApplicationRef_(this.parent.get(import24.NgZone),this.parent.get(import26.Console),this,this._ErrorHandler_8,this,this._ApplicationInitStatus_9,this.parent.get(import9.TestabilityRegistry,(null as any)),this._Testability_10);
   return this._GridModule_5;
 }
开发者ID:seanlandsman,项目名称:ag-grid-ng2-dynamic-components,代码行数:13,代码来源:grid.module.ngfactory.ts

示例4: createInternal

 createInternal():import1.IonicModule {
   this._CommonModule_0 = new import2.CommonModule();
   this._ApplicationModule_1 = new import3.ApplicationModule();
   this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule,(null as any)));
   this._HttpModule_3 = new import5.HttpModule();
   this._InternalFormsSharedModule_4 = new import6.InternalFormsSharedModule();
   this._FormsModule_5 = new import7.FormsModule();
   this._ReactiveFormsModule_6 = new import7.ReactiveFormsModule();
   this._IonicModule_7 = new import1.IonicModule();
   this._ErrorHandler_10 = import4.errorHandler();
   this._ApplicationInitStatus_11 = new import9.ApplicationInitStatus(this.parent.get(import9.APP_INITIALIZER,(null as any)));
   this._Testability_12 = new import10.Testability(this.parent.get(import38.NgZone));
   this._ApplicationRef__13 = new import11.ApplicationRef_(this.parent.get(import38.NgZone),this.parent.get(import40.Console),this,this._ErrorHandler_10,this,this._ApplicationInitStatus_11,this.parent.get(import10.TestabilityRegistry,(null as any)),this._Testability_12);
   return this._IonicModule_7;
 }
开发者ID:Davidzhaojb,项目名称:ionic-site,代码行数:15,代码来源:module.ngfactory.ts

示例5: createInternal

 createInternal():import1.StoreModule {
   this._HttpModule_0 = new import2.HttpModule();
   this._ModelModule_1 = new import3.ModelModule();
   this._CommonModule_2 = new import4.CommonModule();
   this._ApplicationModule_3 = new import5.ApplicationModule();
   this._BrowserModule_4 = new import6.BrowserModule(this.parent.get(import6.BrowserModule,(null as any)));
   this._InternalFormsSharedModule_5 = new import7.InternalFormsSharedModule();
   this._FormsModule_6 = new import8.FormsModule();
   this._RouterModule_7 = new import9.RouterModule(this.parent.get(import9.ROUTER_FORROOT_GUARD,(null as any)));
   this._StoreModule_8 = new import1.StoreModule();
   this._ErrorHandler_24 = import6.errorHandler();
   this._ApplicationInitStatus_25 = new import21.ApplicationInitStatus(this.parent.get(import21.APP_INITIALIZER,(null as any)));
   this._Testability_26 = new import22.Testability(this.parent.get(import37.NgZone));
   this._ApplicationRef__27 = new import23.ApplicationRef_(this.parent.get(import37.NgZone),this.parent.get(import39.Console),this,this._ErrorHandler_24,this,this._ApplicationInitStatus_25,this.parent.get(import22.TestabilityRegistry,(null as any)),this._Testability_26);
   return this._StoreModule_8;
 }
开发者ID:hieutran106,项目名称:pro-angular-2ed,代码行数:16,代码来源:store.module.ngfactory.ts

示例6: createInternal

 createInternal():import1.AppModule {
   this._HttpModule_0 = new import2.HttpModule();
   this._InternalFormsSharedModule_1 = new import3.InternalFormsSharedModule();
   this._FormsModule_2 = new import4.FormsModule();
   this._CommonModule_3 = new import5.CommonModule();
   this._ApplicationModule_4 = new import6.ApplicationModule();
   this._BrowserModule_5 = new import7.BrowserModule(this.parent.get(import7.BrowserModule,(null as any)));
   this._ROUTER_FORROOT_GUARD_6 = import8.provideForRootGuard(this.parent.get(import50.Router,(null as any)));
   this._RouterModule_7 = new import8.RouterModule(this._ROUTER_FORROOT_GUARD_6);
   this._AppModule_8 = new import1.AppModule();
   this._ErrorHandler_18 = import7.errorHandler();
   this._ApplicationInitStatus_19 = new import15.ApplicationInitStatus(this.parent.get(import15.APP_INITIALIZER,(null as any)));
   this._Testability_20 = new import16.Testability(this.parent.get(import41.NgZone));
   this._ApplicationRef__21 = new import17.ApplicationRef_(this.parent.get(import41.NgZone),this.parent.get(import51.Console),this,this._ErrorHandler_18,this,this._ApplicationInitStatus_19,this.parent.get(import16.TestabilityRegistry,(null as any)),this._Testability_20);
   return this._AppModule_8;
 }
开发者ID:mon0051,项目名称:forefront,代码行数:16,代码来源:app.modules.ngfactory.ts

示例7: createInternal

 createInternal():import1.AppModule {
   this._CommonModule_0 = new import2.CommonModule();
   this._ApplicationModule_1 = new import3.ApplicationModule();
   this._BrowserModule_2 = new import4.BrowserModule(this.parent.get(import4.BrowserModule,(null as any)));
   this._HttpModule_3 = new import5.HttpModule();
   this._ModelModule_4 = new import6.ModelModule();
   this._InternalFormsSharedModule_5 = new import7.InternalFormsSharedModule();
   this._FormsModule_6 = new import8.FormsModule();
   this._ROUTER_FORROOT_GUARD_7 = import9.provideForRootGuard(this.parent.get(import68.Router,(null as any)));
   this._RouterModule_8 = new import9.RouterModule(this._ROUTER_FORROOT_GUARD_7);
   this._StoreModule_9 = new import10.StoreModule();
   this._AdminModule_10 = new import11.AdminModule();
   this._AppModule_11 = new import1.AppModule();
   this._ErrorHandler_14 = import4.errorHandler();
   this._ApplicationInitStatus_15 = new import13.ApplicationInitStatus(this.parent.get(import13.APP_INITIALIZER,(null as any)));
   this._Testability_16 = new import14.Testability(this.parent.get(import55.NgZone));
   this._ApplicationRef__17 = new import15.ApplicationRef_(this.parent.get(import55.NgZone),this.parent.get(import69.Console),this,this._ErrorHandler_14,this,this._ApplicationInitStatus_15,this.parent.get(import14.TestabilityRegistry,(null as any)),this._Testability_16);
   this._NoPreloading_60 = new import40.NoPreloading();
   this._PreloadingStrategy_61 = this._NoPreloading_60;
   this._RouterPreloader_62 = new import40.RouterPreloader(this._Router_57,this._NgModuleFactoryLoader_55,this._Compiler_19,this,this._PreloadingStrategy_61);
   return this._AppModule_11;
 }
开发者ID:hieutran106,项目名称:pro-angular-2ed,代码行数:22,代码来源:app.module.ngfactory.ts


注:本文中的@angular/platform-browser/src/browser.errorHandler函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。