getSingleWidgetDef Method
If there is only one Widget in the Panel, gets the single WidgetDef.
getSingleWidgetDef(): undefined | WidgetDef
@returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.
Returns - undefined | WidgetDef
The single WidgetDef if there is only one Widget; otherwise, undefined is returned.
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.