var htmlEl = angular.element(document.querySelector('html'));
htmlEl.on('click', function (event) {
  if (event.target.nodeName === 'HTML') {
    if (myPopup) {//myPopup即为popup
      myPopup.close();
    }
  }
});

相关文章:

  • 2022-12-23
  • 2021-12-16
  • 2021-07-06
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-17
  • 2022-03-02
  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2022-01-06
相关资源
相似解决方案