Is there a way to define a dojo/method programmatically, in a JavaScript function? (Instead of defining it through script type=”dojo/method” within a declarative widget, for example.)
Is there a way to define a dojo/method programmatically, in a JavaScript function? (Instead
Share
Just override it directly on a widget. For example, if you wrote
dojo/methodforabc, do it like that: