Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

vue-itextarea

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-itextarea

Use tab to indent in textareas (tab got automatically replaced by spaces). Escape to unfocus or move to the next sibling.

latest
Source
npmnpm
Version
1.1.9
Version published
Weekly downloads
21
-22.22%
Maintainers
1
Weekly downloads
 
Created
Source

Textarea with tab indentation for Vue.js 2

npm MIT    Twitter Follow

An intuitive package that enhances textareas by allowing the use of the Tab key for indentation, automatically replacing tabs with spaces. It also supports the use of the Escape key to either unfocus the textarea or move to the next sibling element. Simple and efficient for improving user text input experience.

Demo


Installation

NPM

npm i vue-itextarea

CDN

<script src="https://www.unpkg.com/vue-itextarea/dist/vue-itextarea.min.js"></script>

Usage

import vue_itextarea from 'vue-itextarea';
Vue.component('vue-itextarea', vue_itextarea);
<vue-itextarea v-model="demo"
               class="demo"
               placeholder="Press the Tab key"
></vue-itextarea>

Properties

NameTypeDefaultDescription
valuevalue for v-model
TAB_SIZENumber4Number of spaces tab got automatically replaced by

Events

NameDescription
inputInput event for v-model

License

The MIT License (MIT). Please see License File for more information.

Keywords

vue

FAQs

Package last updated on 05 Jan 2024

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