Interface: ModalFormDataTextFieldOptions
Beta
传递给 @minecraft/Server-ui.ModalFormData.textField 的接口,为文本输入框的创建提供额外的选项。
An interface that is passed into @minecraft/Server-ui.ModalFormData.textField to provide additional options for the textfield creation.
Properties
defaultValue?
optionaldefaultValue?:any
Beta
Remarks
文本输入框的默认值。
The default value for the textfield.
tooltip?
optionaltooltip?:any
Beta
Remarks
将显示一个感叹号图标,当悬停在该图标上时会显示工具提示。
It will show an exclamation icon that will display a tooltip if it is hovered.
