本文整理汇总了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());
}
示例2: ngOnDestroy
ngOnDestroy() {
this.subscription.unsubscribe();
this.eventManager.destroy(this.eventSubscriber);
}
示例3: ngOnDestroy
ngOnDestroy() {
if (this.cleanHttpErrorListener !== undefined && this.cleanHttpErrorListener !== null) {
this.eventManager.destroy(this.cleanHttpErrorListener);
this.alerts = [];
}
}
示例4: registerChangeInSpeakers
registerChangeInSpeakers() {
this.eventSubscriber = this.eventManager.subscribe('speakerListModification', (response) => this.loadAll());
}
示例5: registerChangeInPacientes
registerChangeInPacientes() {
this.eventSubscriber = this.eventManager.subscribe(
'pacientesListModification',
(response) => this.load(this.pacientes.id)
);
}
示例6: registerChangeInQuotes
registerChangeInQuotes() {
this.eventSubscriber = this.eventManager.subscribe('quoteListModification', response => this.loadAll());
}
示例7: registerChangeInLabels
registerChangeInLabels() {
this.eventSubscriber = this.eventManager.subscribe(
'labelListModification',
(response) => this.load(this.label.id)
);
}
示例8: registerChangeInDepartments
registerChangeInDepartments() {
this.eventSubscriber = this.eventManager.subscribe(
'departmentListModification',
(response) => this.load(this.department.id)
);
}
示例9: registerChangeInVerbDefinitions
registerChangeInVerbDefinitions() {
this.eventSubscriber = this.eventManager.subscribe('verbDefinitionListModification', (response) => this.reset());
}
示例10: registerChangeInTags
registerChangeInTags() {
this.eventSubscriber = this.eventManager.subscribe(
'tagListModification',
(response) => this.load(this.tag.id)
);
}