growing-input
v1.1.4
Published
An HTML input element that grows as you type
Downloads
7
Maintainers
Readme
Growing input
An HTML input element that grows as you type
Usage
Install the package
npm install growing-input
Include the script in your webpage and use the web component!
<script type="text/javascript" src="node_modules/growing-input/input.js"></script>
<input is="growing-input" />
Using meteor
To use this package in meteor simply import it via javascript's import
sytax
// main.js \\
import 'growing-input'
After importing, you can use the new element in your HTML
<!-- main.html -->
<input is="growing-input" />
Or you can create the element via javascript
// main.js \\
import Input from 'growing-input'
document.body.appendChild(new Input)