1.0.2 • Published 6 years ago

vue-chat-autosize-typebox v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

vue-chat-autosize-typebox

NPM version NPM downloads Build Status

Vue component of typebox chat with autosize.

DEMO

Install

import Vue from 'vue';
import ChatTypeBox from 'vue-chat-autosize-typebox';

Vue.component('ChatTypeBox', ChatTypeBox);

Usage

<ChatTypeBox v-model="text" @send="send"/>

Events

Namedefualt parameterDescription
send(text)emit trim message to event, if empty string not send

Props

NameTypeDefaultDescription
v-modelstringbinding data (required)
maxHightNumber164max height of typebox
minHeightNumber18min height of typebox
maxLengthNumber640limit length of message
placeholderstring'Type a message...'placeholder message in typebox
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago