IAlertingDialogThresholdProps
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Props of the default alerting dialog’s threshold field (the “Threshold” row).
export interface IAlertingDialogThresholdProps
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (BETA) (Optional) Validation message shown under the input; undefined when there is none. | ||
string | (BETA) Id of the input; the form row’s label and the error message point at it. | ||
(event: FocusEvent<HTMLInputElement>) => void | (BETA) Called on blur; the default dialog rounds the value to the measure’s format here. | ||
(value: string | number) => void | (BETA) Called with the raw input value on every keystroke. | ||
string | (BETA) (Optional) Unit shown after the input — | ||
number | undefined | (BETA) The threshold shown; undefined for an empty input. |
Property details
IAlertingDialogThresholdProps.errorMessagepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Validation message shown under the input; undefined when there is none.
errorMessage?: string;
IAlertingDialogThresholdProps.idpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Id of the input; the form row’s label and the error message point at it.
id: string;
IAlertingDialogThresholdProps.onBlurpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Called on blur; the default dialog rounds the value to the measure’s format here.
onBlur: (event: FocusEvent<HTMLInputElement>) => void;
IAlertingDialogThresholdProps.onChangepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Called with the raw input value on every keystroke.
onChange: (value: string | number) => void;
IAlertingDialogThresholdProps.suffixpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Unit shown after the input — "%" for a change condition.
suffix?: string;
IAlertingDialogThresholdProps.valuepropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The threshold shown; undefined for an empty input.
value: number | undefined;