久久久久久久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. 主站蜘蛛池模板: 男女视频在线观看免费 | 精品久久久久香蕉网 | 亚洲欧美精品一区 | 精产国产伦理一二三区 | 四虎影音| 国产成人精品久久二区二区 | 久久成人一区 | 红桃视频一区二区三区免费 | 在线免费观看日本 | 毛片一级片| 国内精品视频在线观看 | 在线观看中文字幕一区二区 | 91大神xh98xh系列全部 | 久久久性 | 日韩免费三级 | 一区二区电影网 | 欧美精品一区二区三区在线 | 欧美一区视频在线 | 美女三区| 国产一级视频在线观看 | 一级爱爱片| 精品日韩在线 | 国产成人jvid在线播放 | 亚洲国产精品一区 | 国产精品一区久久久 | 美女久久| 青青久久 | 久久精品免费 | 精品欧美一区二区精品久久久 | 日韩欧美三级电影 | 超碰97av| 日韩免费 | 亚州无限乱码 | 午夜大片| 久久久国产一区二区三区 | 91美女在线 | 天天综合久久 | 91精品国产综合久久精品 | 亚洲精彩视频 | 国产精品免费看 | 亚洲三级av |