A easy-to-use text complete component made with Vue.js.
V - Textcomplete
Here is documents
Installation
npm install v-textcomplete --save
Or
yarn add v-textcomplete --save
Usage
Register component
Registe global component:
Vue
Registe component:
components: TextComplete
Simple usage
<template> <text-complete v-model="content" areaClass="textcomplete" :strategies="strategies"></text-complete></template> <script> components: TextComplete { return content: '' strategies: match: /:$/ { } { return '<img width="17" src="' + githubEmojiname + '"></img> ' + name; } { return '$1:' + value + ': ' } }</script>
Please check the Documentation more
Contributors
Thanks
License
The plugin is open-sourced software licensed under the MIT license.