source: Dev/trunk/src/client/dojox/app/tests/customApp/WidgetView.js

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 506 bytes
Line 
1define(["dojo/_base/declare", "dojox/app/ViewBase", "dijit/_WidgetBase", "dijit/_TemplatedMixin", "dijit/_WidgetsInTemplateMixin"],
2        function(declare, ViewBase, _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin){
3                return declare([_WidgetBase, ViewBase, _TemplatedMixin, _WidgetsInTemplateMixin], {
4                        postCreate: function(){
5                                this.inherited(arguments);
6                                // use the dojo attach point
7                                this.myButton.on("click", function(){
8                                        console.log("I was correctly attached!")
9                                });
10                        }
11                });
12        }
13);
Note: See TracBrowser for help on using the repository browser.