当前位置: 首页>>代码示例>>TypeScript>>正文


TypeScript NgbActiveModal.dismiss方法代码示例

本文整理汇总了TypeScript中@ng-bootstrap/ng-bootstrap.NgbActiveModal.dismiss方法的典型用法代码示例。如果您正苦于以下问题:TypeScript NgbActiveModal.dismiss方法的具体用法?TypeScript NgbActiveModal.dismiss怎么用?TypeScript NgbActiveModal.dismiss使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在@ng-bootstrap/ng-bootstrap.NgbActiveModal的用法示例。


在下文中一共展示了NgbActiveModal.dismiss方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。

示例1:

		}).then((result) => {
			if (result.value) { this.modal.dismiss(); }
		});
开发者ID:RinMinase,项目名称:anidb,代码行数:3,代码来源:add-season.component.ts

示例2: onSaveSuccess

 private onSaveSuccess(result: UserVerbFormLevel) {
     this.eventManager.broadcast({ name: 'userVerbFormLevelListModification', content: 'OK'});
     this.isSaving = false;
     this.activeModal.dismiss(result);
 }
开发者ID:,项目名称:,代码行数:5,代码来源:

示例3: onSaveSuccess

 private onSaveSuccess(result: Billing) {
     this.eventManager.broadcast({ name: 'billingListModification', content: 'OK'});
     this.isSaving = false;
     this.activeModal.dismiss(result);
 }
开发者ID:chenshao0594,项目名称:eshop,代码行数:5,代码来源:billing-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 }}]);
 });
开发者ID:bonhamcm,项目名称:generator-jhipster,代码行数:6,代码来源:_user-management-delete-dialog.component.ts

示例5: requestResetPassword

 requestResetPassword () {
     this.activeModal.dismiss('to state requestReset');
     this.router.navigate(['/reset', 'request']);
 }
开发者ID:JayRaparla,项目名称:jhipster,代码行数:4,代码来源:login.component.ts

示例6: onSaveSuccess

 private onSaveSuccess(result: CadastrosLocalidades) {
     this.eventManager.broadcast({ name: 'cadastrosLocalidadesListModification', content: 'OK'});
     this.isSaving = false;
     this.activeModal.dismiss(result);
 }
开发者ID:rogrs,项目名称:loja,代码行数:5,代码来源:cadastros-localidades-dialog.component.ts

示例7:

 .catch((error) => {
     this.activeModal.dismiss(error);
 });
开发者ID:GitWhiskey,项目名称:composer,代码行数:3,代码来源:identity-issued.component.ts

示例8: dismiss

	/**
	 * Dismisses this modal.
	 */
	dismiss(): void {
		this.activeModal.dismiss();
	}
开发者ID:iadgov,项目名称:WALKOFF,代码行数:6,代码来源:messages.modal.component.ts

示例9: register

 register () {
     this.activeModal.dismiss('to state register');
     this.$state.go('register');
 }
开发者ID:JimSpriggs,项目名称:sourdough,代码行数:4,代码来源:login.component.ts

示例10: requestResetPassword

 requestResetPassword () {
     this.activeModal.dismiss('to state requestReset');
     this.$state.go('requestReset');
 }
开发者ID:JimSpriggs,项目名称:sourdough,代码行数:4,代码来源:login.component.ts


注:本文中的@ng-bootstrap/ng-bootstrap.NgbActiveModal.dismiss方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。