sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
490 B

define(['../throttle', '../on'], function(throttle, on){
// summary:
// This module provides an event throttler for dojo/on
// module:
// dojo/on/throttle
return function(selector, delay){
// summary:
// event parser for custom events
// selector: String
// The selector to check against
// delay: Interger
// The amount of ms before testing the selector
return function(node, listenerFnc){
return on(node, selector, throttle(listenerFnc, delay));
};
};
});