Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
b137274a
Commit
b137274a
authored
Jan 18, 2017
by
qingwei.li
Committed by
杨奕
Jan 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TimeSelect(doc): fix format api, fixed #2416
parent
d20eaab8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
examples/docs/en-US/time-picker.md
examples/docs/en-US/time-picker.md
+1
-1
examples/docs/zh-CN/time-picker.md
examples/docs/zh-CN/time-picker.md
+1
-1
No files found.
examples/docs/en-US/time-picker.md
View file @
b137274a
...
...
@@ -149,7 +149,6 @@ Can pick an arbitrary time range.
| clearable | Whether to show clear button | boolean | — | true |
| size | size of Input | string | large/small/mini | — |
| placeholder | placeholder | string | — | — |
| format | format of the picker | string | hour
`HH`
, minute
`mm`
, second
`ss`
| HH:mm:ss |
| value | value of the picker | date for Time Picker, and string for Time Select | hour
`HH`
, minute
`mm`
, second
`ss`
| HH:mm:ss |
| align | alignment | left/center/right | left |
| popper-class | custom class name for TimePicker's dropdown | string | — | — |
...
...
@@ -168,6 +167,7 @@ Can pick an arbitrary time range.
| Attribute | Description | Type | Accepted Values | Default |
|---------- |-------------- |---------- |-------------------------------- |-------- |
| selectableRange | available time range, e.g.
`'18:30:00 - 20:30:00'`
or
`['09:30:00 - 12:00:00', '14:30:00 - 18:30:00']`
| string/array | — | — |
| format | format of the picker | string | hour
`HH`
, minute
`mm`
, second
`ss`
| HH:mm:ss |
### Events
...
...
examples/docs/zh-CN/time-picker.md
View file @
b137274a
...
...
@@ -156,7 +156,6 @@
| clearable | 是否显示清除按钮 | boolean | — | true |
| size | 输入框尺寸 | string | large, small, mini | — |
| placeholder | 占位内容 | string | — | — |
| format | 时间格式化(TimePicker) | string | 小时:
`HH`
,分:
`mm`
,秒:
`ss`
| 'HH:mm:ss' |
| value | 绑定值 | TimePicker: DateTimeSelect: String | — | — |
| align | 对齐方式 | string | left, center, right | left |
| popper-class | TimePicker 下拉框的类名 | string | — | — |
...
...
@@ -175,6 +174,7 @@
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---------- |-------------- |---------- |-------------------------------- |-------- |
| selectableRange | 可选时间段,例如
`'18:30:00 - 20:30:00'`
或者传入数组
`['09:30:00 - 12:00:00', '14:30:00 - 18:30:00']`
| string/array | — | — |
| format | 时间格式化(TimePicker) | string | 小时:
`HH`
,分:
`mm`
,秒:
`ss`
| 'HH:mm:ss' |
### Events
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment