1.0.28 • Published 5 years ago

recruit-tag-input v1.0.28

Weekly downloads
7
License
ISC
Repository
gitlab
Last release
5 years ago

recruit-tag-input 使用说明

参数说明

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时有效  
}
1.0.28

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago