Quantcast
Channel: Alfresco Forums - Alfresco Share
Viewing all articles
Browse latest Browse all 877

Aikau Widget Function Signatures

$
0
0

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?
5.1.x

Viewing all articles
Browse latest Browse all 877