本文整理汇总了TypeScript中ngx-bootstrap/modal/bs-modal-ref.service.BsModalRef.hide方法的典型用法代码示例。如果您正苦于以下问题:TypeScript service.BsModalRef.hide方法的具体用法?TypeScript service.BsModalRef.hide怎么用?TypeScript service.BsModalRef.hide使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ngx-bootstrap/modal/bs-modal-ref.service.BsModalRef
的用法示例。
在下文中一共展示了service.BsModalRef.hide方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: approve
approve(appointmentRequest2: AppointmentRequest){
this.appointmentRequest = appointmentRequest2;
this.appointmentRequest.status ="Aprovado";
this.appointmentrequestService.update(this.appointmentRequest, appointmentRequest2._id).subscribe();
this.refresh();
this.modalRef.hide();
}
示例2: closeFirstModal
closeFirstModal() {
this.modalRef.hide();
this.modalRef = null;
}
示例3:
this.bsModalRef.content.onClose = (myData) => {
this.updateList();
this.bsModalRef.hide();
this.myData = myData;
};
示例4: cancel
cancel(): void {
this.onClose.next(null);
this.bsModalRef.hide();
}
示例5: confirm
confirm(): void {
const processedInputs = new Object();
this.componentRequests.forEach(cr => { processedInputs[cr.name] = cr.getProcessedValue(); });
this.onClose.next(processedInputs);
this.bsModalRef.hide();
}
示例6: closeAbout
public closeAbout( $event: AboutEvent ): void {
this.aboutRef.hide();
}
示例7: decline
decline(): void {
this.message = 'Declined!';
this.modalRef.hide();
}
示例8: confirm
confirm(): void {
this.message = 'Confirmed!';
this.modalRef.hide();
}