Skip to content

Commit

Permalink
docs(readme) move events down
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenjennings committed Mar 24, 2020
1 parent dedecc5 commit c86db13
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,6 @@ vue-autosuggest does not have an opinion about how you render the items in your
| `component-attr-class-autosuggest-results-container` | String | | `class` of container of results container |
| `component-attr-class-autosuggest-results` | String | | `class` of results container |

## [Events](#events)

| Prop | Returns | Description |
| :-------------------------------- | :-------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `@selected` | suggestionItem, index | suggestion select handler. equivalent to sectionConfigs `on-selected` but for all items |
| `@input`, `@focus`, `@blur`, etc. | \* | there is a transparent wrapper on the underlying `<input />` so vue-autosuggest will use any DOM event you pass it for listening. This is implemented using `v-on:<event>`. |


<a name="inputPropsTable"></a>

### inputProps
Expand Down Expand Up @@ -412,6 +404,13 @@ shouldRenderSuggestions (size, loading) {
}
```

## [Events](#events)

| Prop | Returns | Description |
| :-------------------------------- | :-------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `@selected` | suggestionItem, index | suggestion select handler. equivalent to sectionConfigs `on-selected` but for all items |
| `@input`, `@focus`, `@blur`, etc. | \* | there is a transparent wrapper on the underlying `<input />` so vue-autosuggest will use any DOM event you pass it for listening. This is implemented using `v-on:<event>`. |

## Browser support

For IE11 and below, some functionality may not work. For example, you will have to manually [polyfill](https://github.com/Financial-Times/polyfill-service/issues/177) `Node.prototype.contains`
Expand Down

0 comments on commit c86db13

Please sign in to comment.