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