SafeNumericInput
Hierarchy
- Component<SafeNumericInputProps>
- SafeNumericInput
Index
Constructors
constructor
Parameters
props: any
Returns SafeNumericInput
Properties
valueString
Methods
componentDidMount
Returns void
componentDidUpdate
Called immediately after updating occurs. Not called for the initial render.
The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.
Parameters
prevProps: SafeNumericInputProps
Returns void
handleOnBlur
Returns void
handleOnFocus
Returns void
render
Returns Element
safeHandleValueChanged
Parameters
valueAsNumber: number
valueAsString: string
inputElement: HTMLInputElement
Returns void
setFocused
Parameters
isFocused: boolean
Returns void
setValueString
Parameters
valueString: string
Returns void
Called immediately after a component is mounted. Setting state here will trigger re-rendering.