Skip to content

Commit 579a48b

Browse files
committed
Merge alexurquhart#34, update documentation
For reference, other PR's merged previously: alexurquhart#47, alexurquhart#32, alexurquhart#29, alexurquhart#21
1 parent 2c0c558 commit 579a48b

10 files changed

+85
-63
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,14 @@
2828
- More comprehensive unit testing is now a priority, edge cases are harder to find than I thought :joy:
2929

3030
## 0.2.6 - 30 Sept 2018
31-
- Fixed `maxMatches` bug. Thanks to @jimfisher
31+
- Fixed `maxMatches` bug. Thanks to @jimfisher
32+
33+
## 0.2.? - April 2019
34+
- Summary of merged PRs:
35+
- #34 - disabled property
36+
- #47 - minMatchingChars = 0
37+
- #32 - fix for replace on null
38+
- #29 - keyboard navigation
39+
- #21 - initial set value, watch for updates
40+
- Added setFocus method
41+
- Added keyup event

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default {
5151
The only required attribute is a `data` array.
5252

5353
```html
54-
<vue-bootstrap-typeahead
54+
<vue-bootstrap-typeahead
5555
v-model="query"
5656
:data="['Canada', 'USA', 'Mexico']"
5757
/>
@@ -126,6 +126,12 @@ Name | Description
126126
--- | ---
127127
`hit` | Triggered when an autocomplete item is selected. The entry in the input `data` array that was selected is returned.
128128
`input` | The component can be used with `v-model`
129+
`keyup` | Generic `keyup` event for the contained input element
130+
131+
### Methods
132+
Name | Description
133+
--- | ---
134+
setFocus | Set focus on the contained input element
129135

130136
### Slots
131137

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

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

165-
## Contributing
166-
167-
Please note that active development is done on the `Development` branch. PR's are welcome!
168-
169171
## Sites using this component
170172

171173
- [plottr.io](https://plottr.io) - Plan and map your running/cycling routes. This component is an offshoot from this project.

dist/VueBootstrapTypeahead.common.js

Lines changed: 29 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/VueBootstrapTypeahead.common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/VueBootstrapTypeahead.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)