0.0.3 • Published 2 years ago
input-tag-vue3 v0.0.3
Input Tag Vue3
A simple input tag component for Vue 3.
Customize configuration
See Vite Configuration Reference.
Project Setup
npm i input-tag-vue3<script setup>
import InputTag from 'input-tag-vue3'
</script>
<template>
<InputTag
:modelvalue="value"
label="Lorem Ipsum"
@change="updatedValue"
id="loremimpus"
name="meuinput[]" />
</template>About the props
| Prop | Type | Require | Default | Description |
|---|---|---|---|---|
| modelvalue | Object | false | [] | The object with idand name |
| label | String | false | The label of the input | |
| id | String | false | The id of the input | |
| name | String | false | The name of the input | |
| placeholder | String | false | Enter a tag | The placeholder of the input |
| @change | Function | false | The function that will be called when the input value changes |