Grails plugin: Twitter Typeahead resource files
Inspired by twitter.com's autocomplete search functionality, typeahead.js is a fast and fully-featured autocomplete library.
This plugins provides resource files for typeahead.js and CSS to style it when used with Bootstrap.
See https://github.com/twitter/typeahead.js to get started.
Including the resources
You can use either the resources or Asset-Pipeline plugins to use this plugin.
If you use the Grails resources plugin the following resources are exposed:
/* *= require typeahead-bootstrap-css */
Declare bootstrap resource module in GSP page header:
<r:require modules="typeahead-js"/> <r:require modules="typeahead-bootstrap-css"/>
- Support Grails 2.4.0
- Removed container margin styling in Bootstrap CSS (tcrossland)
- Updated CSS to work with Bootstrap 3
- Depend on Grails 2.0 instead of 2.2
- First release
Copyright and License
Copyright 2013 Michael Legart
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Twitter Typeahead JS:
Copyright 2013 Twitter, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at: http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
Twitter Bootstrap CSS from http://jsfiddle.net/needathinkle/MA7Ep/ referenced at https://github.com/twitter/typeahead.js/issues/378