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.
 
 
 
 
 
 

16 lines
390 B

define([
"dojo/_base/declare",
"dojo/dom",
"dojo/on",
],function(declare,dom, on){
return declare( null, {
constructor: function(view){
on(dom.byId("clearGraphics"), "click", function(){
if(view.ready){
view.graphics.removeAll();
alert("ready")
}
});
}
})
})