https://github.com/fent/jquery.rubber.js
jQuery plugin that stretches text fields to fit their content.
https://github.com/fent/jquery.rubber.js
jquery
Last synced: about 1 month ago
JSON representation
jQuery plugin that stretches text fields to fit their content.
- Host: GitHub
- URL: https://github.com/fent/jquery.rubber.js
- Owner: fent
- License: mit
- Created: 2011-08-01T08:05:51.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2018-01-13T06:06:27.000Z (over 8 years ago)
- Last Synced: 2025-06-20T03:45:07.675Z (12 months ago)
- Topics: jquery
- Language: JavaScript
- Homepage: http://fent.github.io/jquery.rubber.js/
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is like the [elastic](http://unwrongest.com/projects/elastic/) plugin but for text fields. Text fields will stretch accordingly to fit their content. It does not stret any longer than their parent's width, preventing breaking the layout.
Usage
------------
$('input').rubber()