Cross between a textarea and text input. The textarea behaves like a single-line input unless the return key is used. A "multiline" classname is added to aid styling, for example you may wish to expand the field height.
Install with component(1):
$ component install component/inputarea
varinputarea=require('inputarea');varel=document.querySelector('textarea');inputarea(el).on('input',function(str){console.log(str);});MIT