AnsweredAssumed Answered

Tell Widget to stop listening for mouse click

Question asked by chet.egbert_CDFW on Sep 6, 2018
Latest reply on Sep 6, 2018 by rscheitlin

Simple question.  I placed this.own(on(this.map, "click", lang.hitch(this, this._onMapClick))); in postCreate to start my widget listening for mouse clicks.  How to I undo this command on widget onClose? 

 

Thanks.

Outcomes