私が<a>タグをクリックするたびにユーザーに警告したいとします。 document.querySelector('body').addEventListener('click', function (event : any) {
if (event.target.tagName === 'A') {
event.preventDefault();
al
をクリックした後を除いて表示されていないDIV私は、ホームページにGoogleマップを持っているし、地図上に表示される情報ウィンドウを閉じるとき、私は別のページへのルートにユーザーをしようとしている: // Google map info window code snippet from a @Directive
infowindow.addListener('closeclick',()