You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| getContainer | To get the specified mounted HTML node, the default is `body`, if `null` returned, it would be rendered to the current node |`HTMLElement \| () => HTMLElement \| null`|`() => document.body`|
Copy file name to clipboardExpand all lines: src/components/virtual-input/index.en.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ When you need to use it with the virtual keyboard.
23
23
| onFocus | Triggered when element get focus |`() => void`| - |
24
24
| placeholder | The placeholder text |`string`| - |
25
25
| value | The input value |`string`|`''`|
26
+
| cursor | Cursor related configuration, `movable` indicates whether it can be adjusted, `onMove` is the cursor movement callback |`{ movable?: boolean; onMove?: (position: number) => void }`|`{ movable: false }`|
26
27
27
28
Strictly speaking, VirtualInput is not a form field component. It just displays the data.
0 commit comments