File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
builder-2d/widgets/MyWidget/widgets
builder-3d/widgets/MyWidget/widgets
developer/app/widgets/Demo/widgets Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ import _WidgetsInTemplateMixin from 'dijit/_WidgetsInTemplateMixin';
99// This line tells Typescript that our Subwidget extends from WidgetBase,
1010// so when we call built-in properties or functions (like .placeAt()),
1111// Typescript will not error:
12- interface Subwidget extends WidgetBase { } ;
12+ interface Subwidget extends WidgetBase , _TemplatedMixin , _WidgetsInTemplateMixin { }
1313
1414@declare ( WidgetBase , _TemplatedMixin , _WidgetsInTemplateMixin )
1515class Subwidget {
16- private templateString : string = template ;
16+ public templateString : string = template ;
1717
1818 baseClass : string = 'subwidget' ;
1919
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ import _WidgetsInTemplateMixin from 'dijit/_WidgetsInTemplateMixin';
99// This line tells Typescript that our Subwidget extends from WidgetBase,
1010// so when we call built-in properties or functions (like .placeAt()),
1111// Typescript will not error:
12- interface Subwidget extends WidgetBase { } ;
12+ interface Subwidget extends WidgetBase , _TemplatedMixin , _WidgetsInTemplateMixin { }
1313
1414@declare ( WidgetBase , _TemplatedMixin , _WidgetsInTemplateMixin )
1515class Subwidget {
16- private templateString : string = template ;
16+ public templateString : string = template ;
1717
1818 baseClass : string = 'subwidget' ;
1919
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ import _WidgetsInTemplateMixin from 'dijit/_WidgetsInTemplateMixin';
99// This line tells Typescript that our Subwidget extends from WidgetBase,
1010// so when we call built-in properties or functions (like .placeAt()),
1111// Typescript will not error:
12- interface Subwidget extends WidgetBase { } ;
12+ interface Subwidget extends WidgetBase , _TemplatedMixin , _WidgetsInTemplateMixin { }
1313
1414@declare ( WidgetBase , _TemplatedMixin , _WidgetsInTemplateMixin )
1515class Subwidget {
16- private templateString : string = template ;
16+ public templateString : string = template ;
1717
1818 baseClass : string = 'subwidget' ;
1919
You can’t perform that action at this time.
0 commit comments