mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
doc(input): reorder api
This commit is contained in:
parent
097425deab
commit
23aa383c77
@ -15,17 +15,19 @@ format
|
||||
## Props
|
||||
|Name|Type|Default|Description|
|
||||
|-|-|-|-|
|
||||
|theme|`'light' \| 'dark' \| null`|`null`||
|
||||
|placeholder|`string`|`'Select Time'`||
|
||||
|value|`number`|`null`||
|
||||
|clearable|`boolean`|`false`||
|
||||
|format|`string`|`'HH:mm:ss'`||
|
||||
|is-hour-disabled|`(hour: number) => boolean`|`() => false`||
|
||||
|is-minute-disabled|`(minute: number, hour: number) => boolean`|`() => false`||
|
||||
|is-second-disabled|`(second: number, minute: number, hour: number) => boolean`|`() => false`||
|
||||
|placeholder|`string`|`'Select Time'`||
|
||||
|size|`'small' \| 'medium' \| 'large'`|`'medium'`||
|
||||
|theme|`'light' \| 'dark' \| null`|`null`||
|
||||
|value|`number`|`null`||
|
||||
|
||||
|
||||
## Events
|
||||
|Name|Parameters|Description|
|
||||
|-|-|-|
|
||||
|change|`(value: number \| null)`||
|
||||
|blur|`(value: number \| null)`||
|
||||
|blur|`(value: number \| null)`||
|
||||
|change|`(value: number \| null)`||
|
@ -16,17 +16,18 @@ format
|
||||
## Props
|
||||
|名称|类型|默认值|说明|
|
||||
|-|-|-|-|
|
||||
|theme|`'light' \| 'dark' \| null`|`null`||
|
||||
|placeholder|`string`|`'请选择时间'`||
|
||||
|value|`number`|`null`||
|
||||
|clearable|`boolean`|`false`||
|
||||
|format|`string`|`'HH:mm:ss'`||
|
||||
|is-hour-disabled|`(hour: number) => boolean`|`() => false`||
|
||||
|is-minute-disabled|`(minute: number, hour: number) => boolean`|`() => false`||
|
||||
|is-second-disabled|`(second: number, minute: number, hour: number) => boolean`|`() => false`||
|
||||
|placeholder|`string`|`'Select Time'`||
|
||||
|size|`'small' \| 'medium' \| 'large'`|`'medium'`||
|
||||
|theme|`'light' \| 'dark' \| null`|`null`||
|
||||
|value|`number`|`null`||
|
||||
|
||||
## Events
|
||||
|名称|参数|说明|
|
||||
|-|-|-|
|
||||
|change|`(value: number \| null)`||
|
||||
|blur|`(value: number \| null)`||
|
||||
|blur|`(value: number \| null)`||
|
||||
|change|`(value: number \| null)`||
|
Loading…
Reference in New Issue
Block a user