Skip to content

Commit

Permalink
Update readme with some focus details
Browse files Browse the repository at this point in the history
  • Loading branch information
lettertwo committed Nov 5, 2015
1 parent c16dae8 commit a6424fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -46,6 +46,14 @@ name | description
value | The value of the control
label | For select boxes, the option string that corresponds to the selected value.
checked | For check boxes, a boolean the corresponds to whether or not the box has been checked
focus | Whether or not the control has focus

The wrapped facade will also accept some props for managing behavior:

name | description
----------|------------
autoFocus | Whether or not to immediately focus the control on mount.
onFocus | A callback for when the control receives focus. Receives the event as its only argument.
onBlur | A callback for when the control loses focus. Receives the event as its only argument.

[jquery.icbiacontrol]: https://github.com/matthewwithanm/jquery-icbiacontrol

0 comments on commit a6424fc

Please sign in to comment.