growing-input

1.1.4 • Public • Published

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)

Package Sidebar

Install

npm i growing-input

Weekly Downloads

1

Version

1.1.4

License

ISC

Last publish

Collaborators

  • dev1an