Skip to content

Commit

Permalink
Merge alexurquhart#34, update documentation
Browse files Browse the repository at this point in the history
For reference, other PR's merged previously: alexurquhart#47, alexurquhart#32, alexurquhart#29, alexurquhart#21
  • Loading branch information
jhalag committed Apr 16, 2019
1 parent 2c0c558 commit 579a48b
Show file tree
Hide file tree
Showing 10 changed files with 85 additions and 63 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,14 @@
- More comprehensive unit testing is now a priority, edge cases are harder to find than I thought :joy:

## 0.2.6 - 30 Sept 2018
- Fixed `maxMatches` bug. Thanks to @jimfisher
- Fixed `maxMatches` bug. Thanks to @jimfisher

## 0.2.? - April 2019
- Summary of merged PRs:
- #34 - disabled property
- #47 - minMatchingChars = 0
- #32 - fix for replace on null
- #29 - keyboard navigation
- #21 - initial set value, watch for updates
- Added setFocus method
- Added keyup event
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default {
The only required attribute is a `data` array.

```html
<vue-bootstrap-typeahead
<vue-bootstrap-typeahead
v-model="query"
:data="['Canada', 'USA', 'Mexico']"
/>
Expand Down Expand Up @@ -126,6 +126,12 @@ Name | Description
--- | ---
`hit` | Triggered when an autocomplete item is selected. The entry in the input `data` array that was selected is returned.
`input` | The component can be used with `v-model`
`keyup` | Generic `keyup` event for the contained input element

### Methods
Name | Description
--- | ---
setFocus | Set focus on the contained input element

### Slots

Expand Down Expand Up @@ -162,10 +168,6 @@ You can also view and edit examples hosted on CodePen [here](https://alexurquhar

Please note that active development is done on the `Development` branch. PR's are welcome!

## Contributing

Please note that active development is done on the `Development` branch. PR's are welcome!

## Sites using this component

- [plottr.io](https://plottr.io) - Plan and map your running/cycling routes. This component is an offshoot from this project.
Expand Down
53 changes: 29 additions & 24 deletions dist/VueBootstrapTypeahead.common.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/VueBootstrapTypeahead.common.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/VueBootstrapTypeahead.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 579a48b

Please sign in to comment.