> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IAlertingDialogTriggerModeProps

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/automations/alerting/types.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Props of the default alerting dialog's trigger-mode field (the "Trigger" row).

**Signature:**

```typescript
export interface IAlertingDialogTriggerModeProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [closeOnParentScroll?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogtriggermodeprops/index.md#ialertingdialogtriggermodepropscloseonparentscroll) |  | boolean | **_(BETA)_** _(Optional)_ Closes the dropdown when an ancestor scrolls; the default dialog sets it. |
| [enableAlertOncePerInterval?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogtriggermodeprops/index.md#ialertingdialogtriggermodepropsenablealertonceperinterval) |  | boolean | **_(BETA)_** _(Optional)_ Offers `"ONCE_PER_INTERVAL"`; the default dialog passes the feature flag. |
| [id](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogtriggermodeprops/index.md#ialertingdialogtriggermodepropsid) |  | string | **_(BETA)_** Id of the dropdown button; the form row's label points at it. |
| [onTriggerModeChange](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogtriggermodeprops/index.md#ialertingdialogtriggermodepropsontriggermodechange) |  | (triggerMode: [IAlertTriggerMode](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ialerttriggermode/index.md)) =&gt; void | **_(BETA)_** Called with the picked mode. |
| [overlayPositionType?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogtriggermodeprops/index.md#ialertingdialogtriggermodepropsoverlaypositiontype) |  | OverlayPositionType | **_(BETA)_** _(Optional)_ Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`. |
| [selectedTriggerMode](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogtriggermodeprops/index.md#ialertingdialogtriggermodepropsselectedtriggermode) |  | [IAlertTriggerMode](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ialerttriggermode/index.md) | **_(BETA)_** When the alert fires: `"ALWAYS"`, `"ONCE"` or `"ONCE_PER_INTERVAL"`. |

## Property details

### IAlertingDialogTriggerModeProps.closeOnParentScroll

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Closes the dropdown when an ancestor scrolls; the default dialog sets it.

**Signature:**

```typescript
closeOnParentScroll?: boolean;
```

### IAlertingDialogTriggerModeProps.enableAlertOncePerInterval

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Offers `"ONCE_PER_INTERVAL"`; the default dialog passes the feature flag.

**Signature:**

```typescript
enableAlertOncePerInterval?: boolean;
```

### IAlertingDialogTriggerModeProps.id

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Id of the dropdown button; the form row's label points at it.

**Signature:**

```typescript
id: string;
```

### IAlertingDialogTriggerModeProps.onTriggerModeChange

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Called with the picked mode.

**Signature:**

```typescript
onTriggerModeChange: (triggerMode: IAlertTriggerMode) => void;
```

### IAlertingDialogTriggerModeProps.overlayPositionType

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.

**Signature:**

```typescript
overlayPositionType?: OverlayPositionType;
```

### IAlertingDialogTriggerModeProps.selectedTriggerMode

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

When the alert fires: `"ALWAYS"`, `"ONCE"` or `"ONCE_PER_INTERVAL"`.

**Signature:**

```typescript
selectedTriggerMode: IAlertTriggerMode;
```
