# recruit-tag-input

> ## 参数说明

Latest version **1.0.28** (published 2019-05-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install recruit-tag-input
pnpm add recruit-tag-input
yarn add recruit-tag-input
bun add recruit-tag-input
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.28 |
| Published | 2019-05-16 |
| First published | 2018-12-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 32.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | beisencorp |

## Links

- npm: https://www.npmjs.com/package/recruit-tag-input
- Repository: git@gitlab.beisencorp.com:ux-share-platform/recruit-tag-input
- npm.io page: https://npm.io/package/recruit-tag-input

## Dependencies (1)

- [@beisen-platform/ethos](https://npm.io/package/@beisen-platform/ethos.md) 1.0.24

## Recent versions

- 1.0.28 (latest) — 2019-05-16
- 1.0.26 — 2019-04-19
- 1.0.25 — 2019-04-19
- 1.0.24 — 2019-03-22
- 1.0.23 — 2019-03-18
- 1.0.22 — 2019-03-18
- 1.0.20 — 2019-02-13
- 1.0.19 — 2019-02-13
- 1.0.18 — 2019-02-13
- 1.0.17 — 2019-02-12
- 1.0.16 — 2019-01-15
- 1.0.15 — 2019-01-14
- 1.0.14 — 2019-01-11
- 1.0.13 — 2019-01-09
- 1.0.12 — 2019-01-08
- … 11 more at https://npm.io/package/recruit-tag-input/versions

## README

# recruit-tag-input 使用说明

## 参数说明

```javascript
const props = {
    single: false //单多项输入
    ,canCreate: true //新增数据功能
    ,createBtnText: '添加共享者' //新增按钮文本    
    ,maxCount: 5 //最大输入数量
    ,disableKeyDown: true //是否禁用回车添加项功能
    ,disableInput: true  //禁用输入功能    
    ,defaultItems: [
        {
            text: '1111'
            ,value: 0
        },{
            text: '2222'
            ,value: 1
        },{
            text: '3333'
            ,value: 2
        }
    ] //默认项
    ,title: "关键字" //label文本
    ,isRequired: true //必填
    ,lablePos: true //label位置，true时在左边，false在上边
    ,lableText: false //label中文字对齐方式，true左对齐，false右对齐 
    ,errorStatus: false //错误状态
    ,errorMessage: '已超出最大数量限制' //错误提示
    ,isDropList: true  //下拉选择专用参数
    ,onClick: function(event, status, value) {} // 点击输入框回调方法
    ,onFocus: function(event, status, value) {} // 输入框focus回调方法
    ,onChange: function(event, status, value) {} // 输入时回调方法
    ,onBlur: function(event, status, value) {} // 输入框失焦回调方法
    ,addItemCallBack: function(event, status, value) {} // 添加输入项回调方法
    ,deleteItemCallBack: function(event, status, value) {} // 删除输入项回调方法
    ,createNewItem: function() {}  //新增数据回调，只在canCreate为true时有效  
}
```

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