Skip to content

sc00/svelte-textarea-auto-height

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svelte-textarea-auto-height

A svelte action that automatically resizes input fields based on their value.

Install

$ npm install svelte-textarea-auto-height

Usage

<script>
  import { autoHeight } from 'svelte-textarea-auto-height';
</script>

<textarea
  use:autoHeight
  cols="30"
  placeholder="Type and watch me resize!"
></textarea>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published