Parse on load add using declaratively ChildWidget.

This commit is contained in:
Tomasz Półgrabia 2021-12-19 15:05:22 +01:00
parent 1a2b04bd6c
commit 4407cd934d
5 changed files with 31 additions and 15 deletions

View file

@ -0,0 +1,11 @@
define([
"dijit/_TemplatedMixin",
"dijit/_WidgetBase",
"dojo/_base/declare"
], function(_TemplatedMixin, _WidgetBase, declare, template) {
return declare("app/widgets/ChildWidget", [_WidgetBase, _TemplatedMixin], {
templateString: "<div>"
+ "ChildWidget!!!"
+ "</div>"
});
});