本文整理匯總了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;
}