ParsedInputProps Interface

Beta  

Props for ParsedInput control

Extends

Properties

Name Type Description
formatValue (value: number) => string Function used to format the value  
initialValue number InitialValue which is used to restore input field if ESC is pressed  
onChange undefined | (newValue: number) => void Function to call when value is changed  
parseString (stringValue: string) => ParseResults Function used to parse user input into a value  
readonly undefined | false | true if readonly then only the formatValue function is used.  
ref undefined | React.Ref<HTMLInputElement> Provides ability to return reference to HTMLInputElement  

Inherited properties

Name Type Inherited from Description
className undefined | string ClassNameProps Custom CSS class name
style undefined | React.CSSProperties CommonProps Custom CSS style properties

Defined in

Last Updated: 01 December, 2021