jquery event handler: div becomes visible/hidden

前端 未结 2 1690
执念已碎
执念已碎 2020-12-11 15:43

I have a div and I\'d like to have an event handler listen to when it becomes visible and hidden. How do you do that?

Thanks.

2条回答
  •  孤街浪徒
    2020-12-11 15:51

    You can create a trigger. You would, of course, have to fire the trigger, but that is one way to do it.

提交回复
热议问题