inst/htmlwidgets/bower_components/bower_components/textarea-helper/README.md

textareaHelper

A small library that mirrors a textarea's content onto a div to add some interesting functionality.

Demo.

Running the tests

open test/tests.html

Usage

$('#myText').textareaHelper();
$('#myText').textareaHelper(method);

Methods

.textareaHelper('height')

Get's the textarea's content height.

.textareaHelper('caretPos')

Get's the XY coordinates of the textarea's caret relative to the textarea.

.textareaHelper('destroy')

Destorys the helper mirror object. Use for cleanup.

License

MIT



p-mohan/autocomplete documentation built on Feb. 16, 2023, 2:02 a.m.