How to inspect JQuery UI tooltip?

后端 未结 9 1468
一向
一向 2021-01-17 17:48

I have a default JQuery UI tooltip function call on my page. Is there a way to style the tooltip div interactively using the Inspector? If I had two mouse pointers, one woul

9条回答
  •  时光说笑
    2021-01-17 18:34

    In Chrome follow the following steps: 1- Open Developers Tools ( Ctrl + Shift + I ) or (right click on screen and select inspect).

    2- Choose Sources:

    3- On the right side, you found accordion, Open "Event Listener Breakpoints"

    4- You will found all events, Open "Mouse", then Select "mouseout" event, this will stop execution of code and stop before "mouseout action".

    5- Go to App screen, and Try to hover only the item which has the tooltip, then screen will freeze, and you will found the tooltip stand as you want.

    Note: If you hovered other item by wrong, you can resume the execution of code by clicking resume (blue button), and then try hover again. If you want to return to the normal execution of code, Deselect the "mouseout" event, and click resume (blue button).

    In Firefox the same, the difference in "Sources" tab is named "Debugger".

提交回复
热议问题