The getWidgetsByType searches the widget's children for the requested widget type. Returns a widget array containing all the widgets of the specified type.
Syntax | widget.getWidgetsByType(wtype); |
---|---|
Parameters | wtype : Required. The name of the constructor function of the widget you are searching for. |
Returns | Object Array. |