AnsweredAssumed Answered

Aikau Widget Function Signatures

Question asked by stuartonmaui on May 4, 2016
Latest reply on May 9, 2016 by afaust
Many Aikau Widgets (such as DateTextBox, form controls) seem to use the following:

define(["alfresco/core/Core",
       …
    ],
    function(declare, _Widget, Core, _Templated, template) {   
      return declare([_Widget, Core, _Templated], {



But others have different ones. For example, alfresco/html/Image calls for

define([….],
        function(urlTypes, Image, declare, domClass) {
        return declare([Image], {

Looking at the code for such widgets does not seem to reveal the required signature. For these widgets, lacking an example, how should I determine the proper definition?

Outcomes