Detect multiple images load event

前端 未结 2 1541
予麋鹿
予麋鹿 2020-12-20 20:56

I\'m wondering if there is a way to detect load event of multiple images (particularly, a function should execute when the last image in a given set has completed loading).<

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-20 21:08

    Check out this jQuery imagesLoaded plugin, it should suit your needs I think.

提交回复
热议问题