1.0.4 • Published 7 years ago

vue-h-editable v1.0.4

Weekly downloads
23
License
-
Repository
-
Last release
7 years ago

vue-h-editable

vue contenteditable 插件

About

这是一个vue2.0 指令插件,允许将任何dom变为数据双向绑定的可编辑区域

Demo

Demo

Installation

install with NPM

npm install vue-h-editable --save  

Import

import vueEditable from 'vue-h-editable'

Usage

first import it:

import vueEditable from 'vue-h-editable'  

Vue.use(vueEditable);

Then in your template just use the directive:

<div class="h-content" v-editable="content"> //content is data model ,like v-model
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago