Class NumberLimitObservableValidatorBeta
Constructors
constructor
- new NumberLimitObservableValidator(
min: number,
max: number,
isInteger?: boolean,
): NumberLimitObservableValidator Beta
Parameters
- min: number
- max: number
Optional
isInteger: boolean
Properties
Protected
Optional
Beta
_isInteger
_isInteger?: boolean
Protected
Optional
Beta
_max
_max?: number
Protected
Optional
Beta
_min
_min?: number
Methods
updateLimits
- updateLimits(min: number, max: number): void
Beta
Returns void
validate
- validate(newValue: number): number
Beta
Returns number
Validates min/max limits of observable objects that support number