0.0.8 • Published 6 years ago

@beisen-cmps/ux-m-platform-interval-input v0.0.8

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
6 years ago

组件使用、扩展文档

BlockItem数字区间

用于数字区间

UI规则

  1. 编辑态
    • 标题最大宽度为96px超出折行
    • 两边界值平分剩余宽度,超出打点省略
    • 点击该项时弹出输入键盘
  2. 快速搜索态
    • 激活输入框,边框变为蓝色,弹出输入键盘
    • 点击清空,清空输入框中的值
    • 点击确定,完成输入

Inputsearch blockitem

API

BlockItem props

namedescriptiontypedefault
cls自定义container cssString''
style自定义container styleObject{}
label标题String''
leftV左侧值Number
rightV右侧值Number
popType搜索类型'searchItem'为快速搜索String
onFocus激活Function()
onBlurLeft左侧输入框失去焦点Function(e.target.value)
onBlurRight右侧输入框失去焦点Function(e.target.value)
onSubmit点击确定Function(e)
onClearValue点击清空Function(e)