ETextArea
The ETextArea
component replaces the standard html textarea and encapsulates well-defined logic that can be reused throughout the app.
Basic Usage
template
<script setup>
import { ref } from "vue";
import { ETextArea } from "easy-kit-component";
const text = ref();
</script>
<template>
<ETextArea v-model="text"/>
</template>
Message is :
API Reference
- Props
ts
interface TextArea {
placeHolder?: string;
maxLength?: LengthType;
minLenght?: LengthType;
readOnly?: boolean;
disabled?: boolean;
cols?: number;
rows?: number;
}