[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/jquery/autosize/ -> readme.md (source)

   1  ## Autosize

   2  
   3  Small jQuery plugin to allow dynamic resizing of textarea height, so that it grows as based on visitor input.  To use, just call the `.autosize()` method on any textarea element. Example `$('textarea').autosize();`.  See the [project page](http://jacklmoore.com/autosize/) for documentation and a demonstration.  Released under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
   4  
   5  ## Changelog

   6  
   7  ### Version 1.14 - October 6, 2012

   8  * Added 'append' option for appending whitespace to the end of the height calculation (an extra newline improves the apperance when animating).
   9  * Added a demonstration of animating the height change using a CSS transition.
  10  
  11  ### Version 1.13 - September 21, 2012

  12  * Added optional callback that fires after resize.
  13  
  14  ### Version 1.12 - September 3, 2012

  15  * Fixed a bug I introduced in the last update.
  16  
  17  ### Version 1.11 - August 8, 2012

  18  * Added workaround to get Chrome to reflow default text better.
  19  
  20  ### Version 1.10 - July 30, 2012

  21  * Added 'lineHeight' to the list of styles considered for size detection.
  22  
  23  ### Version 1.9 - June 19, 2012

  24  * Added 'textIndent' to the list of styles considered for size detection.
  25  * Added vender prefixes to box-sizing detection
  26  
  27  ### Version 1.8 - June 7, 2012

  28  * Added conditional so that autosize cannot be applied twice to the same element
  29  * When autosize is applied to an element, it will have a data property that links it to the mirrored textarea element.  This will make it easier to keep track of and remove unneeded mirror elements.  Example:
  30  
  31      $('textarea.example').data('mirror').remove(); // delete the mirror

  32  
  33      $('textarea.example').remove(); // delete the original

  34  
  35  ### Version 1.7 - May 3, 2012

  36  * Now supports box-sizing:border-box
  37  
  38  ### Version 1.6 - February 11, 2012

  39  * added binding to allow autosize to be triggered manually.  Example:
  40    $('#myTextArea').trigger('autosize');
  41  
  42  ### Version 1.5 - December 7, 2011

  43  * fixed a regression in detecting FireFox support
  44  
  45  ### Version 1.4 - November 22, 2011

  46  * added branching to exclude old browsers (FF3- & Safari4-)
  47  
  48  ### Version 1.3 - November 13, 2011

  49  * fixed a regression in 1.1 relating to Opera.
  50  
  51  ### Version 1.2 - November 10, 2011

  52  * fixed a regression in 1.1 that broke autosize for IE9.
  53  
  54  ### Version 1.1 - November 10, 2011

  55  * autosize now follows the max-height of textareas.  OverflowY will be set to scroll once the content height exceeds max-height. 
  56  
  57  ### Version 1.0 - November 7, 2011

  58  * first release


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1