mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +08:00
docs(inputNumber): fix focus version to 5.22.0 (#51478)
This commit is contained in:
parent
299c394c81
commit
e8f7b0a620
@ -29,7 +29,7 @@ When a numeric value needs to be provided.
|
||||
<code src="./demo/out-of-range.tsx">Out of range</code>
|
||||
<code src="./demo/presuffix.tsx">Prefix / Suffix</code>
|
||||
<code src="./demo/status.tsx">Status</code>
|
||||
<code src="./demo/focus.tsx" version="5.23.0">Focus</code>
|
||||
<code src="./demo/focus.tsx" version="5.22.0">Focus</code>
|
||||
<code src="./demo/controls.tsx" debug>Icon</code>
|
||||
<code src="./demo/render-panel.tsx" debug>_InternalPanelDoNotUseOrYouWillBeFired</code>
|
||||
<code src="./demo/debug-token.tsx" debug>Override Component Style</code>
|
||||
@ -74,7 +74,7 @@ Common props ref:[Common props](/docs/react/common-props)
|
||||
| Name | Description | Type | Version |
|
||||
| --- | --- | --- | --- |
|
||||
| blur() | Remove focus | - | |
|
||||
| focus() | Get focus | (option?: { preventScroll?: boolean, cursor?: 'start' \| 'end' \| 'all' }) | cursor - 5.23.0 |
|
||||
| focus() | Get focus | (option?: { preventScroll?: boolean, cursor?: 'start' \| 'end' \| 'all' }) | cursor - 5.22.0 |
|
||||
| nativeElement | The native DOM element | - | 5.17.3 |
|
||||
|
||||
## Design Token
|
||||
|
@ -30,7 +30,7 @@ demo:
|
||||
<code src="./demo/out-of-range.tsx">超出边界</code>
|
||||
<code src="./demo/presuffix.tsx">前缀/后缀</code>
|
||||
<code src="./demo/status.tsx">自定义状态</code>
|
||||
<code src="./demo/focus.tsx" version="5.23.0">聚焦</code>
|
||||
<code src="./demo/focus.tsx" version="5.22.0">聚焦</code>
|
||||
<code src="./demo/controls.tsx" debug>图标按钮</code>
|
||||
<code src="./demo/render-panel.tsx" debug>_InternalPanelDoNotUseOrYouWillBeFired</code>
|
||||
<code src="./demo/debug-token.tsx" debug>覆盖组件样式</code>
|
||||
@ -75,7 +75,7 @@ demo:
|
||||
| 名称 | 说明 | 参数 | 版本 |
|
||||
| --- | --- | --- | --- |
|
||||
| blur() | 移除焦点 | - | |
|
||||
| focus() | 获取焦点 | (option?: { preventScroll?: boolean, cursor?: 'start' \| 'end' \| 'all' }) | cursor - 5.23.0 |
|
||||
| focus() | 获取焦点 | (option?: { preventScroll?: boolean, cursor?: 'start' \| 'end' \| 'all' }) | cursor - 5.22.0 |
|
||||
| nativeElement | 获取原生 DOM 元素 | - | 5.17.3 |
|
||||
|
||||
## 主题变量(Design Token)
|
||||
|
Loading…
Reference in New Issue
Block a user