vue-itextarea
Textarea with tab indentation for Vue.js 2
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.

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
| Name | Type | Default | Description |
|---|---|---|---|
| value | value for v-model | ||
| TAB_SIZE | Number | 4 | Number of spaces tab got automatically replaced by |
Events
| Name | Description |
|---|---|
| input | Input event for v-model |
License
The MIT License (MIT). Please see License File for more information.
Related Packages
vue-truncate-collapsed
A simple component that truncates your text and adds a 'Read More/Show Less' cli...
75,853
104
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.1.9 | ^2.6.11 | MIT | |
| 1.1.8 | ^2.6.11 | MIT | |
| 1.1.7 | ^2.6.11 | MIT | |
| 1.1.6 | ^2.6.11 | MIT | |
| 1.1.5 | ^2.6.11 | MIT | |
| 1.1.4 | ^2.6.11 | MIT | |
| 1.1.3 | ^2.6.11 | MIT | |
| 1.1.2 | ^2.6.11 | MIT | |
| 1.1.1 | ^2.6.11 | MIT | |
| 1.1.0 | ^2.6.11 | MIT | |
| 1.0.15 | ^2.6.11 | MIT | |
| 1.0.14 | ^2.6.11 | MIT | |
| 1.0.13 | ^2.6.11 | MIT | |
| 1.0.12 | ^2.6.11 | MIT | |
| 1.0.11 | ^2.6.11 | MIT | |
| 1.0.10 | ^2.6.11 | MIT | |
| 1.0.9 | ^2.6.11 | MIT | |
| 1.0.8 | ^2.6.11 | MIT | |
| 1.0.7 | ^2.6.11 | MIT | |
| 1.0.6 | ^2.6.11 | MIT | |
| 1.0.5 | ^2.6.11 | MIT | |
| 1.0.4 | ^2.6.11 | MIT | |
| 1.0.3 | ^2.6.11 | MIT | |
| 1.0.2 | ^2.6.11 | MIT | |
| 1.0.1 | ^2.6.11 | MIT | |
| 1.0.0 | ^2.6.11 |