IAlertingDialogMeasureProps
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Props of the default alerting dialog’s measure field (the “Metric” row).
export interface IAlertingDialogMeasureProps
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (BETA) (Optional) Closes the dropdown when an ancestor scrolls; the default dialog sets it. | ||
boolean | (BETA) (Optional) Disables the select. The default dialog disables it when the dialog has no insight to pick measures from. | ||
string | (BETA) Id of the dropdown button; the form row’s label points at it. | ||
(BETA) The insight’s measures an alert can be built on. | |||
(measure: AlertMetric) => void | (BETA) Called with the picked measure. | ||
OverlayPositionType | (BETA) (Optional) Positioning of the dropdown overlay; the default dialog uses | ||
AlertMetric | undefined | (BETA) The measure the condition targets; undefined shows the placeholder. |
Property details
IAlertingDialogMeasureProps.closeOnParentScrollpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Closes the dropdown when an ancestor scrolls; the default dialog sets it.
closeOnParentScroll?: boolean;
IAlertingDialogMeasureProps.disabledpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Disables the select. The default dialog disables it when the dialog has no insight to pick measures from.
disabled?: boolean;
IAlertingDialogMeasureProps.idpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Id of the dropdown button; the form row’s label points at it.
id: string;
IAlertingDialogMeasureProps.measurespropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
The insight’s measures an alert can be built on.
measures: AlertMetric[];
IAlertingDialogMeasureProps.onMeasureChangepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Called with the picked measure.
onMeasureChange: (measure: AlertMetric) => void;
IAlertingDialogMeasureProps.overlayPositionTypepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Positioning of the dropdown overlay; the default dialog uses "sameAsTarget".
overlayPositionType?: OverlayPositionType;
IAlertingDialogMeasureProps.selectedMeasurepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
The measure the condition targets; undefined shows the placeholder.
selectedMeasure: AlertMetric | undefined;