Socket
Book a DemoInstallSign in
Socket

vanilla-autogrow

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilla-autogrow

Automatically grow and shrink textareas to fit their content as you type.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

vanilla-autogrow

NPM Downloads

How to use

A dead simple approach to autogrowing your textareas.

Works beautifully with Bootstrap 5 and even works with the floating labels.

No jQuery or framework needed.

import Autogrow from "./autogrow.js";
var inst = new Autogrow();

// or pass a selector
var inst = new Autogrow('textarea.autogrow');

Keywords

DOM

FAQs

Package last updated on 03 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts