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


TypeScript ng-jhipster.JhiEventManager类代码示例

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


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

示例1: registerChangeInPersonels

 registerChangeInPersonels() {
     this.eventSubscriber = this.eventManager.subscribe('personelListModification', (response) => this.loadAll());
 }
开发者ID:ATS01Dev,项目名称:HotMan,代码行数:3,代码来源:personel-hotpersonel.component.ts

示例2: ngOnDestroy

 ngOnDestroy() {
     this.subscription.unsubscribe();
     this.eventManager.destroy(this.eventSubscriber);
 }
开发者ID:ATS01Dev,项目名称:HotMan,代码行数:4,代码来源:horraires-hotpersonel-detail.component.ts

示例3: ngOnDestroy

 ngOnDestroy() {
     if (this.cleanHttpErrorListener !== undefined && this.cleanHttpErrorListener !== null) {
         this.eventManager.destroy(this.cleanHttpErrorListener);
         this.alerts = [];
     }
 }
开发者ID:ostmond,项目名称:mySampleGateway,代码行数:6,代码来源:alert-error.component.ts

示例4: registerChangeInSpeakers

 registerChangeInSpeakers() {
     this.eventSubscriber = this.eventManager.subscribe('speakerListModification', (response) => this.loadAll());
 }
开发者ID:cfaddict,项目名称:jhipster-course,代码行数:3,代码来源:speaker.component.ts

示例5: registerChangeInPacientes

 registerChangeInPacientes() {
     this.eventSubscriber = this.eventManager.subscribe(
         'pacientesListModification',
         (response) => this.load(this.pacientes.id)
     );
 }
开发者ID:rogrs,项目名称:safh,代码行数:6,代码来源:pacientes-detail.component.ts

示例6: registerChangeInQuotes

 registerChangeInQuotes() {
     this.eventSubscriber = this.eventManager.subscribe('quoteListModification', response => this.loadAll());
 }
开发者ID:Doha2012,项目名称:tutorials,代码行数:3,代码来源:quote.component.ts

示例7: registerChangeInLabels

 registerChangeInLabels() {
     this.eventSubscriber = this.eventManager.subscribe(
         'labelListModification',
         (response) => this.load(this.label.id)
     );
 }
开发者ID:tchipi88,项目名称:jhipster-sample-app,代码行数:6,代码来源:label-detail.component.ts

示例8: registerChangeInDepartments

 registerChangeInDepartments() {
     this.eventSubscriber = this.eventManager.subscribe(
         'departmentListModification',
         (response) => this.load(this.department.id)
     );
 }
开发者ID:ATS01Dev,项目名称:HotMan,代码行数:6,代码来源:department-hotpersonel-detail.component.ts

示例9: registerChangeInVerbDefinitions

 registerChangeInVerbDefinitions() {
     this.eventSubscriber = this.eventManager.subscribe('verbDefinitionListModification', (response) => this.reset());
 }
开发者ID:,项目名称:,代码行数:3,代码来源:

示例10: registerChangeInTags

 registerChangeInTags() {
     this.eventSubscriber = this.eventManager.subscribe(
         'tagListModification',
         (response) => this.load(this.tag.id)
     );
 }
开发者ID:BadgerPc,项目名称:jhipster-microservices-example,代码行数:6,代码来源:tag-detail.component.ts


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