Stretchy – Form Element Autosizing

   

Stretchy is a good script for form control autosizing, one that worked on multiple types of form controls (inputs, textareas, even select menus).It’s been developed by Lea Verou

You can also use it as a bookmarklet, to autosize form controls on an existing page, if a form is bothering you with its poor usability.

Stretchy has a spartan API, since in most cases you don’t need to call it at all. Stretchy works via event delegation and detects new elements via mutation observers, so you do not need to call any API methods for adding new elements via scripting

stretchy

Features:
  • Handles multiple types of form controls
  • Tiny footprint
  • Less than 1.5KB minified and gzipped!
  • Automatically accounts for newly added controls
  • Restrict form controls by a selector
  • Plays well with existing HTML/CSS
  • No JS knowledge required
  • Stretchy

    DMCA.com Protection Status