All Projects → Cobertos → vue-input-contenteditable

Cobertos / vue-input-contenteditable

Licence: MIT license
The same features you expect from `<input type="text">` but in a `contenteditable` Vue component

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects

Projects that are alternatives of or similar to vue-input-contenteditable

vue-list-picker
Just a simple list picker component made with Vue.js (works with Vue 2 & 3)
Stars: ✭ 14 (-26.32%)
Mutual labels:  vue-component
vue-collapse
A simple collapse component for Vue.js
Stars: ✭ 34 (+78.95%)
Mutual labels:  vue-component
ui-nuclear-mobile
A configurable Mobile UI based on Antd Mobile and Vue
Stars: ✭ 61 (+221.05%)
Mutual labels:  vue-component
vue-progressbar-component
[CSS GPU Animation] Simple progressbar for vuejs
Stars: ✭ 13 (-31.58%)
Mutual labels:  vue-component
vue-crop
[举个例子]https://codesandbox.io/s/910ro8ym9r [演示链接(戳我直达)]http://www.wwwwxy.top/html/blg/
Stars: ✭ 38 (+100%)
Mutual labels:  vue-component
vue-component-devtool
Vue 组件开发模板
Stars: ✭ 32 (+68.42%)
Mutual labels:  vue-component
vanilla-caret-js
Set and get Caret position (contenteditable or TextArea) using Vanilla JavaScript
Stars: ✭ 31 (+63.16%)
Mutual labels:  contenteditable
vue-share-it
A Vue.js component for sharing links to social networks
Stars: ✭ 21 (+10.53%)
Mutual labels:  vue-component
xcrop
Mobile image cropping component - Vue React 移动端裁剪组件
Stars: ✭ 27 (+42.11%)
Mutual labels:  vue-component
shadow
Shadow dom support for Vue
Stars: ✭ 46 (+142.11%)
Mutual labels:  vue-component
vue-pagination-minemine
使用 vue2.0 实现一个简洁的分页组件
Stars: ✭ 52 (+173.68%)
Mutual labels:  vue-component
vue-burger-button
🍔 vue-burger-button is a functional component, which is faster than a regular component, and is pretty small (JS min+gzip is lower than 700b and CSS min+gzip is lower than 400b).
Stars: ✭ 41 (+115.79%)
Mutual labels:  vue-component
vue-img-orientation-changer
A vue plugin that can help you display image in correct orientation.
Stars: ✭ 38 (+100%)
Mutual labels:  vue-component
vuejs-countdown-timer
⏱ Vue 2 event countdown and timer component
Stars: ✭ 47 (+147.37%)
Mutual labels:  vue-component
vue-snowf
Snowfall component for Vue.js, let it snow on your page! ❄ demo: https://fuxy526.github.io/snowf/
Stars: ✭ 38 (+100%)
Mutual labels:  vue-component
vue-json-tree
Vue component that renders JSON data in a collapsible tree structure.
Stars: ✭ 48 (+152.63%)
Mutual labels:  vue-component
ng-contenteditable
Angular v4+ contenteditable directive for compatibility with Angular forms
Stars: ✭ 39 (+105.26%)
Mutual labels:  contenteditable
vue-eva-input
A beautiful input component based on Eva Design System and Vue.
Stars: ✭ 17 (-10.53%)
Mutual labels:  vue-component
vstx-data-table
A data table component for the Vue Stacks Ecosystem
Stars: ✭ 34 (+78.95%)
Mutual labels:  vue-component
unique-ui
一个用于Vue2.x的移动端组件库
Stars: ✭ 43 (+126.32%)
Mutual labels:  vue-component

build status twitter twitter twitter Tidelift - For Enterprise

vue-input-contenteditable

Make beautiful inputs without the restrictions of input[type='text']. A Vue component wrapper for contenteditable with all the features you expect:

  • v-model
  • placeholder
  • maxlength

Installation

npm i vue-input-contenteditable

Usage

Below is an example of the component in use in a Single File Component. After importing it, make sure to add it to your components property and then it will be available in your template.

<template>
    <input-contenteditable
        v-model="myModel"
        _is="p"
        :placeholder="myPlaceHolder"
        :maxlength="25" />
</template>

<script>
import InputContenteditable from 'vue-input-contenteditable';

export default {
    components: {
        'input-contenteditable': InputContenteditable
    },
    data: {
        myModel: '',
        myPlaceholder: 'Type your data here...'
    }
};
</script>

This uses the standard @vue/cli export recommendations. You can import the source .vue component directly by importing vue-input-contenteditable/sfc or use the component from a script tag with unpkg.

For Enterprise

The maintainers of thousands of packages (including me! :3) are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].