当前位置: 首页>>代码示例>>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;未经允许,请勿转载。