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.
13 lines
506 B
13 lines
506 B
define(["dojo/_base/declare", "dojox/app/ViewBase", "dijit/_WidgetBase", "dijit/_TemplatedMixin", "dijit/_WidgetsInTemplateMixin"], |
|
function(declare, ViewBase, _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin){ |
|
return declare([_WidgetBase, ViewBase, _TemplatedMixin, _WidgetsInTemplateMixin], { |
|
postCreate: function(){ |
|
this.inherited(arguments); |
|
// use the dojo attach point |
|
this.myButton.on("click", function(){ |
|
console.log("I was correctly attached!") |
|
}); |
|
} |
|
}); |
|
} |
|
); |