Jquery::Inputfit::Rails

TODO: Gemified version of inputfit, which allows you to autoshrink input text in a given input field.

Plugin that makes value of the input fit into the input, see the demo

Installation

Add this line to your application's Gemfile:

gem 'jquery-inputfit-rails'

And then execute:

$ bundle

Add the following to your app/assets/javascripts/application.js:

//= require jquery.inputfit

Plugin Documentation

https://github.com/vxsx/jquery.inputfit.js

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it ( https://github.com/[my-github-username]/jquery-inputfit-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request