useAlertingDialogContext()
Home > @gooddata/sdk-ui-dashboard > useAlertingDialogContext
useAlertingDialogContext() function
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.
Reads the alerting create/edit dialog context.
A replacement for AlertingDialogComponent renders inside this context and reads the dialog's widget and insight, the dashboard filter context it should apply, the alert being edited, the available workspace users and notification channels, and the create/save/delete callbacks from here.
Some members exist to wire internal machinery (executionResultByRef, widgetLocalIdToTabIdMap, parameterValues) and are not intended as a customization surface.
Signature:
export declare function useAlertingDialogContext(): IAlertingDialogContextValue;
Returns: