0.1.2 • Published 9 years ago

uxcore-ehr-timezone v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

uxcore-ehr-timezone

React ehr timezone

NPM version build status Test Coverage Dependency Status devDependency Status NPM downloads

Sauce Test Status

Development

git clone https://github.com/uxcore/uxcore-ehr-timezone
cd uxcore-ehr-timezone
npm install
npm run server

if 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 start

Test Case

npm run test

Coverage

npm run coverage

Demo

http://uxcore.github.io/components/ehr-timezone

Contribute

Yes please! See the CONTRIBUTING for details.

Props

参数说明类型默认值
locale国际化语言stringzh-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):Nodefunction(){return document.body;}
dropdownMatchSelectWidthdropdown 部分是否和 select 部分同宽booleantrue
dropdownClassNamedropdown 部分的定制类名string-
notFoundContent未找到选项时的提示文案stringnot found