弹出单击后隐藏

时间:2018-04-05 14:17:54

标签: angular

Popup will close while click on close-icon弹出窗口仅在单击关闭或取消图标后才隐藏,而不是单击屏幕上的任何位置或按ESC按钮。

bsModal #bsModalRef="bs-modal" [config]="{backdrop: false,keyboard: false}" 
aria-hidden="true" aria-label="Close" (click)="bsModalRef.hide()"

1 个答案:

答案 0 :(得分:0)

您需要为调用模式弹出窗口的按钮/链接添加数据背景和数据键盘属性。示例代码如下:

    *[05-Apr-2018 09:19:03 America/Chicago] Severity: 2,Message: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed,File: E:\inetpub\wwwroot\vendor\google\recaptcha\src\ReCaptcha\RequestMethod\Post.php,Line: 68
[05-Apr-2018 09:19:04 America/Chicago] Severity: 2,Message: file_get_contents(): Failed to enable crypto,File: E:\inetpub\wwwroot\vendor\google\recaptcha\src\ReCaptcha\RequestMethod\Post.php,Line: 68
[05-Apr-2018 09:19:04 America/Chicago] Severity: 2,Message: file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: operation failed,File: E:\inetpub\wwwroot\vendor\google\recaptcha\src\ReCaptcha\RequestMethod\Post.php,Line: 68*