widgetExistsByRef
Home > @gooddata/sdk-ui-dashboard > IAutomationsContextValue > widgetExistsByRef
IAutomationsContextValue.widgetExistsByRef property
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns true when a widget with the given ref still exists on the dashboard layout. Bridges identifier↔URI mismatches the same way as selectWidgetByRef. NOTE: do NOT narrow to isWidget() here — this is a pure existence check on the ObjRefMap.
Signature:
widgetExistsByRef: (ref: ObjRef | undefined) => boolean;