# vue-questions-editor-eleui2

> Question(s) Editor Vue 2 & Element UI 2

Latest version **0.1.2** (published 2021-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-questions-editor-eleui2
pnpm add vue-questions-editor-eleui2
yarn add vue-questions-editor-eleui2
bun add vue-questions-editor-eleui2
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2021-10-09 |
| First published | 2021-09-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 160.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Song Mingxu |
| Maintainers | bemxself |
| Keywords | question, vue, vue2, element-ui |

## Links

- npm: https://www.npmjs.com/package/vue-questions-editor-eleui2
- Repository: https://github.com/BeMxself/questions-editor
- Homepage: https://github.com/BeMxself/questions-editor#readme
- Issues: https://github.com/BeMxself/questions-editor/issues
- npm.io page: https://npm.io/package/vue-questions-editor-eleui2

## Recent versions

- 0.1.2 (latest) — 2021-10-09
- 0.1.1 — 2021-09-23
- 0.1.0 — 2021-09-22

## README

# questions-editor

## 安装
```
npm install vue-questions-editor-eleui2
```


## 使用

```js
import Vue from 'vue'
import Qe from 'questions-editor'

Vue.use(Qe)
```

```html
<questions-editor v-model="question" :readonly="false" @selected="handleSelected" />
<question-editor v-model="questions" :readonly="false" />
<scale-table v-model="scaleTable" :readonly="false" />
```

也可以单独引入：

```js
import { QuestionEditor, QuestionsEditor, ScaleTable } from 'questions-editor'

// ……
```

详见 examples 


## 说明

### QuestionEditor

单个问题编辑器

#### 属性

- value 值
- readonly 只读

#### 事件

- input 改动时触发


### QuestionsEditor

多问题编辑器

#### 属性

- value 值
- readonly 只读

#### 事件

- input 改动时触发
- selected 容器选中时触发

#### 方法

- appendQuestion(question) 在当前选中的容器中增加问题（若没有选中则增加到根容器里）


### ScaleTable

单个问题编辑器

#### 属性

- value 值
- readonly 只读

#### 事件

- input 改动时触发

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