Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

recruit-drop-list

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recruit-drop-list

## 参数说明

  • 1.0.2
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-25%
Maintainers
1
Weekly downloads
 
Created
Source

recruit-drop-list 使用说明

参数说明

const props = {
    defaultItems: []  //input框默认项数据
    ,disableKeyDown: false //是否禁用回车添加项功能
    ,title: "关键字" //label文本
    ,isRequired: true //是否必填
    ,lablePos: true //label位置,true时在左边,false在上边
    ,lableTxt: false //label中文字对齐方式,true左对齐,false右对齐 
    ,errorStatus: false
    ,errorMessage: '已超出最大数量限制'
    ,children: [
                {   
                    text: ['北森1', 'beisen1@qq.com', '部门1']
                    ,value: 11111 
                }
                ,{  
                    text: ['北森2', 'beisen2@qq.com', '部门2']
                    ,value: 22222 
                }
                ,{  
                    text: ['北森3', 'beisen3@qq.com', '部门3']
                    ,value: 33333 
                }
            ]  //下拉列表项数据
    ,onSearch: function(event, value) {
        self.setSearchList(value);
    } // 输入内容搜索回调
    ,onSureClick: function(event, value) {
        console.log(value)
    } // 点击选择列表项回调  
}

FAQs

Package last updated on 28 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc