當前位置: 首頁>>代碼示例>>TypeScript>>正文


TypeScript EventManager.broadcast方法代碼示例

本文整理匯總了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;
 }
開發者ID:chenshao0594,項目名稱:eshop,代碼行數:4,代碼來源:customer-attribute-detail.component.ts

示例2: onSaveSuccess

 private onSaveSuccess(result: Attachment) {
     this.eventManager.broadcast({ name: 'attachmentListModification', content: 'OK'});
     this.isSaving = false;
 }
開發者ID:chenshao0594,項目名稱:eshop,代碼行數:4,代碼來源:product-attachment.component.ts

示例3: onSaveSuccess

 private onSaveSuccess(result: MerchantStore) {
     this.eventManager.broadcast({ name: 'merchantStoreListModification', content: 'OK'});
     this.isSaving = false;
   //  this.activeModal.dismiss(result);
 }
開發者ID:chenshao0594,項目名稱:eshop,代碼行數:5,代碼來源:merchant-store-dialog.component.ts

示例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 });
 });
開發者ID:manekinekko,項目名稱:generator-jhipster,代碼行數:6,代碼來源:_user-management-delete-dialog.component.ts

示例5: onSaveSuccess

 private onSaveSuccess(result: OrderProductDownload) {
     this.eventManager.broadcast({ name: 'orderProductDownloadListModification', content: 'OK'});
     this.isSaving = false;
     this.orderProductDownload = result;
 }
開發者ID:chenshao0594,項目名稱:eshop,代碼行數:5,代碼來源:order-product-download-dialog.component.ts

示例6: onSaveSuccess

 private onSaveSuccess(result: ManufacturerDescription) {
     this.eventManager.broadcast({ name: 'manufacturerDescriptionListModification', content: 'OK'});
     this.isSaving = false;
     this.manufacturerDescription = result;
 }
開發者ID:chenshao0594,項目名稱:eshop,代碼行數:5,代碼來源:manufacturer-description-dialog.component.ts

示例7: onSaveSuccess

 private onSaveSuccess(result: OrderStatusHistory) {
     this.eventManager.broadcast({ name: 'orderStatusHistoryListModification', content: 'OK'});
     this.isSaving = false;
     this.orderStatusHistory = result;
 }
開發者ID:chenshao0594,項目名稱:eshop,代碼行數:5,代碼來源:order-status-history-dialog.component.ts

示例8: onSaveSuccess

 private onSaveSuccess(result: GeoZone) {
     this.eventManager.broadcast({ name: 'geoZoneListModification', content: 'OK'});
     this.isSaving = false;
     this.geoZone = result;
 }
開發者ID:chenshao0594,項目名稱:eshop,代碼行數:5,代碼來源:geo-zone-dialog.component.ts

示例9: onSaveSuccess

 private onSaveSuccess(result: ProductRelationship) {
     this.eventManager.broadcast({ name: 'productRelationshipListModification', content: 'OK'});
     this.isSaving = false;
     this.productRelationship = result;
 }
開發者ID:chenshao0594,項目名稱:eshop,代碼行數:5,代碼來源:product-relationship-dialog.component.ts

示例10: onSaveSuccess

 private onSaveSuccess(result: OrderProductPrice) {
     this.eventManager.broadcast({ name: 'orderProductPriceModification', content: 'OK'});
     this.isSaving = false;
 }
開發者ID:chenshao0594,項目名稱:eshop,代碼行數:4,代碼來源:order-product-price-detail.component.ts


注:本文中的ng-jhipster.EventManager.broadcast方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。