久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<small id='uUhEh'></small><noframes id='uUhEh'>

<tfoot id='uUhEh'></tfoot>
<i id='uUhEh'><tr id='uUhEh'><dt id='uUhEh'><q id='uUhEh'><span id='uUhEh'><b id='uUhEh'><form id='uUhEh'><ins id='uUhEh'></ins><ul id='uUhEh'></ul><sub id='uUhEh'></sub></form><legend id='uUhEh'></legend><bdo id='uUhEh'><pre id='uUhEh'><center id='uUhEh'></center></pre></bdo></b><th id='uUhEh'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='uUhEh'><tfoot id='uUhEh'></tfoot><dl id='uUhEh'><fieldset id='uUhEh'></fieldset></dl></div>

        <bdo id='uUhEh'></bdo><ul id='uUhEh'></ul>
      <legend id='uUhEh'><style id='uUhEh'><dir id='uUhEh'><q id='uUhEh'></q></dir></style></legend>
      1. 處理 z-index'd 圖層上的點擊事件

        Handling click events on z-index#39;d layers(處理 z-indexd 圖層上的點擊事件)

          <small id='Hy8uo'></small><noframes id='Hy8uo'>

          • <bdo id='Hy8uo'></bdo><ul id='Hy8uo'></ul>

                <tbody id='Hy8uo'></tbody>
              1. <legend id='Hy8uo'><style id='Hy8uo'><dir id='Hy8uo'><q id='Hy8uo'></q></dir></style></legend>
                  <tfoot id='Hy8uo'></tfoot>
                  <i id='Hy8uo'><tr id='Hy8uo'><dt id='Hy8uo'><q id='Hy8uo'><span id='Hy8uo'><b id='Hy8uo'><form id='Hy8uo'><ins id='Hy8uo'></ins><ul id='Hy8uo'></ul><sub id='Hy8uo'></sub></form><legend id='Hy8uo'></legend><bdo id='Hy8uo'><pre id='Hy8uo'><center id='Hy8uo'></center></pre></bdo></b><th id='Hy8uo'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Hy8uo'><tfoot id='Hy8uo'></tfoot><dl id='Hy8uo'><fieldset id='Hy8uo'></fieldset></dl></div>
                • 本文介紹了處理 z-index'd 圖層上的點擊事件的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在構建的地圖應用程序中有 2 個 z-index 圖層.當我單擊要放大的圖層時遇到問題.單擊處理程序位于底層 z-index 圖層上,我不希望在單擊覆蓋圖層中的控件時觸發它.

                  I have 2 z-index layers in a map application I'm building. I have a problem when I click on the layers to zoom in. The click handler is on the underlying z-index layer and I don't want it to fire when a control in the overlying layer is clicked.

                  我遇到的問題是,無論如何都會引發事件,但是當單擊頂層上的某些內容時,事件的 originalTarget 屬性不是底層中的圖像.有沒有辦法改變這個?

                  The problem i have is that the event gets raised no matter what but the originalTarget property of the event is not the image in the underlying layer when something on the top layer is clicked. Is there anyway to change this?

                  推薦答案

                  叫做事件冒泡,可以通過event.stopPropagation()方法來控制(event.cancelBubble() 在 IE 中).您還可以通過從元素上的 onwhatever 屬性調用的處理程序返回 true/false 來控制它.這是一個棘手的問題,所以我建議你做一些研究.

                  It's called event-bubbling, and you can control it with the event.stopPropagation() method (event.cancelBubble() in IE). You can also control it by returning true/false from handlers called by onwhatever attributes on elements. It's a tricky subject so I suggest you do some research.

                  信息:cancelBubble, stopPropagation

                  這篇關于處理 z-index'd 圖層上的點擊事件的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Use IScroll in Angular 2 / Typescript(在 Angular 2/Typescript 中使用 IScroll)
                  anime.js not working in Ionic 3 project(Anime.js 在 Ionic 3 項目中不起作用)
                  Ionic 3 - Update Observable with Asynchronous Data(Ionic 3 - 使用異步數據更新 Observable)
                  Angular 2: file not found on local .json file(Angular 2:在本地 .json 文件中找不到文件)
                  In Ionic 2, how do I create a custom directive that uses Ionic components?(在 Ionic 2 中,如何創建使用 Ionic 組件的自定義指令?)
                  Use ViewChild for dynamic elements - Angular 2 amp; ionic 2(將 ViewChild 用于動態元素 - Angular 2 amp;離子2)

                      <bdo id='YHapS'></bdo><ul id='YHapS'></ul>
                      <i id='YHapS'><tr id='YHapS'><dt id='YHapS'><q id='YHapS'><span id='YHapS'><b id='YHapS'><form id='YHapS'><ins id='YHapS'></ins><ul id='YHapS'></ul><sub id='YHapS'></sub></form><legend id='YHapS'></legend><bdo id='YHapS'><pre id='YHapS'><center id='YHapS'></center></pre></bdo></b><th id='YHapS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='YHapS'><tfoot id='YHapS'></tfoot><dl id='YHapS'><fieldset id='YHapS'></fieldset></dl></div>
                        <tbody id='YHapS'></tbody>

                      <small id='YHapS'></small><noframes id='YHapS'>

                      <tfoot id='YHapS'></tfoot>

                          1. <legend id='YHapS'><style id='YHapS'><dir id='YHapS'><q id='YHapS'></q></dir></style></legend>
                          2. 主站蜘蛛池模板: 亚洲成人三级 | 在线播放国产一区二区三区 | 亚洲天堂一区二区 | 中文日韩在线 | 超碰婷婷 | 日韩av.com | 日韩毛片免费看 | 国产精品视频999 | 国产午夜精品一区二区 | av中文字幕在线观看 | 午夜成人在线视频 | 亚洲乱码一区二区三区在线观看 | 日韩免费一区二区 | 国产精品视频播放 | 日韩精品人成在线播放 | 久热电影 | 欧美做暖暖视频 | 欧美八区 | 超碰在线人人 | 精品视频在线观看 | 理论片87福利理论电影 | 性色av网站| 久久精品高清视频 | 日韩精品久久久久 | 毛片视频网站 | 国产在线视频在线观看 | 亚洲男人天堂 | 久久亚洲一区 | 大陆一级毛片免费视频观看 | 成人午夜精品一区二区三区 | avtt国产 | 黄一区二区三区 | 日韩在线免费视频 | caoporn国产| 在线观看中文视频 | 深夜爽视频 | h视频在线播放 | 国产亚洲精品精品国产亚洲综合 | 久久久久国产精品 | 欧美一级免费看 | 精品久久久久久久 |