1.0.16 • Published 7 years ago
covomo-textbox-vue v1.0.16
Custom Text Input
A text input Vue component. Build for Covomo.
Description
This is an input component that has dynamic icons, Currently it supports font awsome icons.
Install
npm install covomo-textbox-vue --saveUsage
<template>
<CovomoTextBox></CovomoTextBox>
</template>
<script>
import CovomoTextBox from 'covomo-textbox-vue';
</script>Available props
| Prop | Type | Default | Description |
|---|---|---|---|
| required | Boolean | Input is mandatory (true/false) | |
| name | String | Input name property | |
| id | String | Input id | |
| type | String | Input type | |
| placeholder | String | Input placeholder text | |
| disabled | Boolean | Input is disabled (true/false) | |
| divIconName | Array | Left of Input icon | |
| inputIconName | Array | Inside of Input icon |