本文整理汇总了TypeScript中ng-jhipster.EventManager.broadcast方法的典型用法代码示例。如果您正苦于以下问题:TypeScript EventManager.broadcast方法的具体用法?TypeScript EventManager.broadcast怎么用?TypeScript EventManager.broadcast使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ng-jhipster.EventManager
的用法示例。
在下文中一共展示了EventManager.broadcast方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: onSaveSuccess
private onSaveSuccess(result: CustomerAttribute) {
this.eventManager.broadcast({ name: 'customerAttributeModification', content: 'OK'});
this.isSaving = false;
}
示例2: onSaveSuccess
private onSaveSuccess(result: Attachment) {
this.eventManager.broadcast({ name: 'attachmentListModification', content: 'OK'});
this.isSaving = false;
}
示例3: onSaveSuccess
private onSaveSuccess(result: MerchantStore) {
this.eventManager.broadcast({ name: 'merchantStoreListModification', content: 'OK'});
this.isSaving = false;
// this.activeModal.dismiss(result);
}
示例4:
this.userService.delete(login).subscribe(response => {
this.eventManager.broadcast({ name: 'userListModification',
content: 'Deleted a user'});
this.activeModal.dismiss(true);
this.router.navigate([{ outlets: { popup: null }}], { replaceUrl: true });
});
示例5: onSaveSuccess
private onSaveSuccess(result: OrderProductDownload) {
this.eventManager.broadcast({ name: 'orderProductDownloadListModification', content: 'OK'});
this.isSaving = false;
this.orderProductDownload = result;
}
示例6: onSaveSuccess
private onSaveSuccess(result: ManufacturerDescription) {
this.eventManager.broadcast({ name: 'manufacturerDescriptionListModification', content: 'OK'});
this.isSaving = false;
this.manufacturerDescription = result;
}
示例7: onSaveSuccess
private onSaveSuccess(result: OrderStatusHistory) {
this.eventManager.broadcast({ name: 'orderStatusHistoryListModification', content: 'OK'});
this.isSaving = false;
this.orderStatusHistory = result;
}
示例8: onSaveSuccess
private onSaveSuccess(result: GeoZone) {
this.eventManager.broadcast({ name: 'geoZoneListModification', content: 'OK'});
this.isSaving = false;
this.geoZone = result;
}
示例9: onSaveSuccess
private onSaveSuccess(result: ProductRelationship) {
this.eventManager.broadcast({ name: 'productRelationshipListModification', content: 'OK'});
this.isSaving = false;
this.productRelationship = result;
}
示例10: onSaveSuccess
private onSaveSuccess(result: OrderProductPrice) {
this.eventManager.broadcast({ name: 'orderProductPriceModification', content: 'OK'});
this.isSaving = false;
}