Skip to content

Commit

Permalink
Rename _valueAsNumber to getValueAsNumber() #11
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ignatov authored Sep 21, 2016
1 parent 5e79ed8 commit 58d8bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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 58d8bd9

Please sign in to comment.