Select to view content in your preferred language

ArcGIS javascript api and typescript

3373
1
Jump to solution
08-26-2014 01:51 PM
TomHart
Deactivated User

I am unable to find the event.stop method (to stop event propagation) in any of the ESRI typescript definition files.  Does anyone know where this is defined or how I can use this method in my typescript implementation if it isn't defined anywhere?

 

Thanks.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Honored Contributor

I'm going to guess it's because dojo/_base/event is deprecated.

The recommendation is to call event.preventDefault() and event.stopPropagation() natively.

dojo/_base/event — The Dojo Toolkit - Reference Guide

View solution in original post

0 Kudos
1 Reply
ReneRubalcava
Honored Contributor

I'm going to guess it's because dojo/_base/event is deprecated.

The recommendation is to call event.preventDefault() and event.stopPropagation() natively.

dojo/_base/event — The Dojo Toolkit - Reference Guide

0 Kudos