Skip to content

EText

The EText component replaces the standard html input type text and encapsulates well-defined logic that can be reused throughout the app.

Basic Usage

template
<script setup>
import { ref } from "vue";
import { EText } from "easy-kit-component";

const text = ref();
</script>

<template>
  <EText v-model="text"/>
</template>
    
Message is :

API Reference

  • Props
ts
interface Text {
  placeHolder?: string;
  maxLength?: LengthType;
  minLenght?: LengthType;
  readOnly?: boolean;
  disabled?: boolean;
}

Released under the MIT License.