Skip to content

Commit

Permalink
ready for Bootstrap 4
Browse files Browse the repository at this point in the history
  • Loading branch information
bassjobsen committed Nov 14, 2015
1 parent e8f72c2 commit 43c76e4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ With Twitter Bootstrap 3 the typeahead plugin had been dropped. [@mdo](http://tw
~~`Typeahead.js` doesn't seem ready for the new Twitter Bootstrap 3 at the moment. Code is not up to date and fixes are needed. See also:
[Typeahead problems with Bootstrap 3.0 RC1](http://stackoverflow.com/questions/18167246/typeahead-problems-with-bootstrap-3-0-rc1).~~

Bootstrap 4
===========
[Bootstrap 4](http://blog.getbootstrap.com/2015/08/19/bootstrap-4-alpha/) is coming soon. The Bootstrap 3 Typeahead will also work with Bootstrap 4.
The look and feel of Bootstrap 4 will differ from Bootstrap 3 and so does the drop down menu. In Bootstrap 4 the typeahead dropdown menu will look like that shown in the figure below:
![Bootstrap 4 Typeahead](typeaheadv4.png).

Download
========

Expand Down
2 changes: 1 addition & 1 deletion bootstrap3-typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
source: []
, items: 8
, menu: '<ul class="typeahead dropdown-menu" role="listbox"></ul>'
, item: '<li><a href="#" role="option"></a></li>'
, item: '<li><a class="dropdown-item" href="#" role="option"></a></li>'
, minLength: 1
, scrollHeight: 0
, autoSelect: true
Expand Down
2 changes: 1 addition & 1 deletion bootstrap3-typeahead.min.js

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

Binary file added typeaheadv4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 43c76e4

Please sign in to comment.