# vue-xeditable

> Vue Editable Component, base on X-Editable

Latest version **1.1.2** (published 2018-08-08) · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install vue-xeditable
pnpm add vue-xeditable
yarn add vue-xeditable
bun add vue-xeditable
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2018-08-08 |
| First published | 2017-09-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Madao-3 |
| Maintainers | madaochris |

## Links

- npm: https://www.npmjs.com/package/vue-xeditable
- npm.io page: https://npm.io/package/vue-xeditable

## Dependencies (1)

- [jquery](https://npm.io/package/jquery.md) ^3.3.1

## Recent versions

- 1.1.2 (latest) — 2018-08-08
- 1.1.0 — 2017-11-24
- 1.0.1 — 2017-09-19
- 1.0.0 — 2017-09-19

## README

# vue-xeditable
[![](https://badge.juejin.im/entry/5a44aadaf265da4327188822/likes.svg?style=flat-square)](https://juejin.im/post/59c08ed2f265da06611f67c4)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/Kar-Wai-Wong/vue-xeditable/master/LICENSE)

Vue Editable Component, base on X-Editable

# Example
[DEMO PAGE](https://kar-wai-wong.github.io/vue-xeditable/)

# Use Setup

install vue-editable
```
npm install vue-xeditable --save
```

## Vue mount
```
import Editable from './Editable.vue'

new Vue({
  el: '#app',
  components: {
    'editable': Editable
  },
  data: {
    value1: 'value'
  }
})

<editable v-model='value1'></editable>
```

## Base
Credit by [X-editable](https://vitalets.github.io/x-editable/docs.html).

# Support Types
**text**, **textarea**, **number**, **text**, **wysihtml5**, lots else.


# WYSIHTML5
If you want to use wysihtml5 feature, you should add these code: 
```
  <script src="https://cdn.bootcss.com/x-editable/1.5.0/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/wysihtml5-0.3.0.min.js"></script>
  <script src="https://cdn.bootcss.com/x-editable/1.5.1/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.min.js"></script>
  <script src="https://cdn.bootcss.com/x-editable/1.5.0/inputs-ext/wysihtml5/wysihtml5.js"></script>
```

---
_Source: https://npm.io/package/vue-xeditable · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
