0

I'm using a jquery plugin that allows zooming and pan functionality, however I want this to be done only at some event( say when checkbox is clicked) because after having it by all the time, the default functionalities are getting affected which are through another plugin.

Thanks in advance.

4

1 回答 1

0

它可以做这样的事情,

$("#ID").panzoom("disable"); - To disable panzoom for this element

$("#ID").panzoom("enable"); - To enable panzoom for this element
于 2018-12-14T19:49:43.993 回答