Skip to content

viniciusalvess/EasyTypeAhead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

EasyTypeAhead

Easy remote typeahead based on typeahead.js's plug in, helps developers to create an easy way to set up the remote examples with laravel so far. The Remote kind of the typeahead.js prefetch data when the page load and save it at the browser storage and request again to the server only if it does not find the seached value, wich makes the search way faster. The main goal is to implement it with others server side languages.

Setting up on Laravel

Laravel 5.2.x was the tested version. The folder structure follows the framework arquitecture. Link the style and scripts files, implement the controller method as the example in the Controller folder and add the routes to the routes.php. At the $(document).ready() place of your application, you will have to call one of the functions createTypeAheadId, createTypeAhead The attributes to the Bloodhound object are passed as data- attributes at the input tag as is the example in the views folder.

Examples of typeahead.js

For some working examples of typeahead.js, visit the examples page.

Documentation

Browser Support

  • Chrome
  • Firefox 3.5+
  • Safari 4+
  • Internet Explorer 8+
  • Opera 11+

NOTE: typeahead.js is not tested on mobile browsers.

About

Easy remote typeahead based on the twitter typeahead

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages