getSingleWidgetDef Method

If there is only one Widget in the Panel, gets the single WidgetDef.

getSingleWidgetDef(): WidgetDef | undefined

Returns - The single WidgetDef if there is only one Widget; otherwise, undefined is returned.

Defined in

Last Updated: 08 January, 2020