dojo.disconnect
Thanks for your reply....but is it essential ?? because I have used this in my application and not able to see the big difference after using this..
//Run this code to start the listener listener = dojo.connect(layer,"onMouseOver",function(evt){ //do something on hover } //run this code to disconnect the listener dojo.disconnect(listener)
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.