uxcore-ehr-timezone
v0.1.2
Published
uxcore-ehr-timezone component for uxcore.
Readme
uxcore-ehr-timezone
React ehr timezone
Development
git clone https://github.com/uxcore/uxcore-ehr-timezone
cd uxcore-ehr-timezone
npm install
npm run serverif you'd like to save your install time,you can use uxcore-tools globally.
npm install uxcore-tools -g
git clone https://github.com/uxcore/uxcore-ehr-timezone
cd uxcore-ehr-timezone
npm install
npm run dep
npm run startTest Case
npm run testCoverage
npm run coverageDemo
http://uxcore.github.io/components/ehr-timezone
Contribute
Yes please! See the CONTRIBUTING for details.
Props
|参数|说明|类型|默认值|
|---|----|---|------|
|locale | 国际化语言 | string | zh-cn |
|value | 指定当前选中的条目 | string | 无 |
|defaultValue | 指定默认选中的条目 | string | 无 |
|multiple | 支持多选 | | false |
|filterOption | 是否根据输入项进行筛选 | | true |
|onSelect | 被选中时调用,参数为选中的option value值 | function | 无 |
|onDeselect | 取消选中时调用,参数为选中的option value值,仅在multiple或tags模式下生效 | function | 无 |
|onChange | 选中option,或input的value变化(combobox模式下)时,调用此函数 | function | 无 |
|allowClear | 显示清除按钮 | | false |
|placeholder | 选择框默认文字 | string | 无 |
|searchPlaceholder | 搜索框默认文字 | string | 无 |
|combobox | 输入框自动提示模式 | | false |
|size | 选择框大小 | String | 无 |
|getPopupContainer| 弹出的菜单渲染在哪个容器中 | function(trigger:Node):Node | function(){return document.body;}|
|dropdownMatchSelectWidth|dropdown 部分是否和 select 部分同宽| boolean | true |
|dropdownClassName | dropdown 部分的定制类名 | string | - |
|notFoundContent | 未找到选项时的提示文案 | string | not found |
