|
|
Any existing Text Input widgets with Number selected as Type will be automatically updated to a Number Input widget upon opening projects in Vuforia Studio 10.0 or later. This change does not affect widget bindings or appearance in Vuforia View.
|
|
Property
|
JavaScript
|
Type
|
Description
|
|---|---|---|---|
|
Align
|
textalign
|
string
|
Select one of the following.
• Left
• Center
• Right
|
|
Label Position
|
type
|
string
|
Select one of the following.
• Placeholder—text box with only a placeholder attribute. Setting the label is ignored completely.
• Inline Label—label appears on the left and text input is to the right of it.
• Stacked Label— label appears at the top and the text input is below it.
• Floating Label— label appears at the top and the text input is below it.
|
|
Minimum Steps Required for Use
|
What It Looks Like
|
|---|---|
|
1. Drag and drop a Text Input widget onto the canvas.
2. Enter placeholder text in the Placeholder field if you want to give the user some direction as to what should be entered in the text area. For this example, we’ve selected the Inline Label option for the Label Position property so we could pre-define what value we wanted them to enter to the right of the label. Then, the placeholder text we specified in the Placeholder field shows to the right of the Oil Level label.
|
![]() |