Expandable Input – A bootstrap plugin
A Bootstrap plugin to use <{span|div|...} contenteditable> as expandable inputs.
Installation
Simplest way to install is using bower:
bower install --save bootstrap-expandable-input
Usage
<!-- load bootstrap assets --> <!-- load expandable-input assets --> <!-- The behaviour is initialzied on first interaction --> Author: |
To listen to changes on the inputs
Notes
$.fn.val()
&$.fn.select()
are being patched to work with thecontenteditable
inputsdisplay: inline
is currently not supported. It gets set to inline-block when initialized.- no html5 validation or password=type etc is not supported.
Fine Print
The Expandable Input Plugin have been authored by Gregor Martynus, proud member of Team Hoodie. If you feel like it, please support our work on Hoodie: gittip us!.
License: MIT