AnsweredAssumed Answered

draw toolbar on style event not working

Question asked by btfou on Aug 22, 2013
Latest reply on Aug 22, 2013 by btfou
I'm having issues migrating to on style events for draw toolbar.
This does not register an event:
var on ='draw-end', function(evt) {   on.remove();   //do stuff blah blah blah });

It works on the sample.

I've had no problems with on style events with dojo and other esri objects.
This works:
var on = layer.on('load', function() {   on.remove();   //do stuff blah blah blah });