0
當關閉Photoswipe時,it has some leftover elements on the DOM that breaks it,所以我想在每次關閉時使用jQuery重置它。 Photoswipe關閉時如何獲得活動?Photoswipe.js檢測pswp庫關閉時的事件
當關閉Photoswipe時,it has some leftover elements on the DOM that breaks it,所以我想在每次關閉時使用jQuery重置它。 Photoswipe關閉時如何獲得活動?Photoswipe.js檢測pswp庫關閉時的事件
從docs:
// After gallery is closed and closing animation finished.
// Clean up your stuff here.
pswp.listen('destroy', function() { });