3.2.2 • Published 3 years ago

dxw-emp-select v3.2.2

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago
  • 使用

    import EmployeeSelect from 'dxw-emp-select'
  • Props

    参数说明类型可选值默认值
    envVar访问api的环境域stringdevelopment/test/production
    v-model绑定值object
    multiple是否多选booleanfalse
    disabled是否禁用booleanfalse
    size输入框尺寸stringmedium/small/mini
    collapse-tags多选时是否将选中值按文字的形式展示booleanfalse
    nameselect input 的 name 属性string
    autocompleteselect input 的 autocomplete 属性stringoff
    popper-classSelect 下拉框的类名string
    reserve-keyword多选且可搜索时,是否在选中一个选项后保留当前的搜索关键词booleanfalse
    default-first-option在输入框按下回车,选择第一个匹配项booleanfalse
    popper-append-to-body是否将弹出框插入至 body 元素。在弹出框的定位出现问题时,可将该属性设置为 falsebooleantrue
  • Events

    事件名称说明回调参数
    change选中值发生变化时触发目前的选中值
    visible-change下拉框出现/隐藏时触发出现则为 true,隐藏则为 false
    remove-tag多选模式下移除tag时触发移除的tag值
    clear可清空的单选模式下用户点击清空按钮时触发
    blur当 input 失去焦点时触发(event: Event)
    focus当 input 获得焦点时触发(event: Event)
3.2.2

3 years ago

3.2.1

3 years ago

3.1.9

3 years ago

3.1.8

3 years ago

3.2.0

3 years ago

3.1.7

3 years ago

3.1.6

3 years ago

3.1.5

3 years ago

3.1.4

3 years ago

3.1.3

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.0

3 years ago

0.2.9

3 years ago

0.1.1

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago