The getWidgetById searches the widget's children for the requested id. Returns null if nothing has been found, one Object if one match is found or an array of Objects, in case of multiple matches.
Syntax | widget.getWidgetById(sid); |
---|---|
Parameters | sid : Required. String indicating the id to search for. |
Returns | null, Object or Object Array. |