Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…c-input

# Via GitHub
* 'master' of https://github.com/vlad-ignatov/react-numeric-input:
  Rename _valueAsNumber to getValueAsNumber() #11
  • Loading branch information
vlad-ignatov committed Sep 21, 2016
2 parents e20df1f + 58d8bd9 commit 223630f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -139,7 +139,7 @@ is empty the result would be `0`.

### setValue()
An external script that does not "understand" React can still work with this component by reading
the `_valueAsNumber` or by calling the `setValue()` method exposed on the input element. Here is
the `getValueAsNumber()` or by calling the `setValue()` method exposed on the input element. Here is
an example with jQuery:
```js
$('input[name="some-input"]')[0].setValue('123mph');
Expand Down

0 comments on commit 223630f

Please sign in to comment.