Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

Tweak onSelect doc to emphasise the second arg #367

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Default value: `function() {}`

Arguments: `value: String, item: Any`

Invoked when the user selects an item from the dropdown menu.
Invoked when the user selects an item from the dropdown menu. `value` contains the selected value as returned by `getItemValue`, while `item` is the original element of the items array.

#### `open: Boolean` (optional)
Used to override the internal logic which displays/hides the dropdown
Expand Down